Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.985/1.985, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183.2 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 103.1 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.000425, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.707, allocations: 121.3 MB / 1.041 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001004/0.708, allocations: 495.4 kB / 1.041 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.7089, allocations: 0.846 MB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.709, allocations: 2.031 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.709, allocations: 7.828 kB / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.7091, allocations: 4.562 kB / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.7093, allocations: 36.72 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.7094, allocations: 84.45 kB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.7095, allocations: 22.7 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.7096, allocations: 26.12 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.7097, allocations: 43.86 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.7098, allocations: 4.125 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.7098, allocations: 5.344 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.7098, allocations: 14.86 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.7099, allocations: 59.56 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.71, allocations: 76.84 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.71, allocations: 1.344 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.71, allocations: 0 / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.71, allocations: 0 / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005522/0.7106, allocations: 391.6 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7106, allocations: 10.78 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.7107, allocations: 13.03 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.7108, allocations: 174.9 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.7108, allocations: 7.812 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.7109, allocations: 6.781 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.7112, allocations: 115.2 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7112, allocations: 0.8906 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7112, allocations: 2.844 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7112, allocations: 5.188 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.7116, allocations: 128.4 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.7121, allocations: 352.5 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.7127, allocations: 131.4 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.7129, allocations: 77.19 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.7129, allocations: 1.75 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.713, allocations: 33.53 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.713, allocations: 0 / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006495/0.7136, allocations: 213.4 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.7137, allocations: 55.34 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.7137, allocations: 126 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.7138, allocations: 29.7 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.7138, allocations: 95.3 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.7138, allocations: 18.34 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.7138, allocations: 0 / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.7139, allocations: 323 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.7141, allocations: 56.95 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.7143, allocations: 59.62 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.7146, allocations: 119 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7146, allocations: 0 / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003875/0.715, allocations: 158.3 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.715, allocations: 14.38 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.715, allocations: 0 / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.715, allocations: 0 / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.7152, allocations: 32.72 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7152, allocations: 0 / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.7153, allocations: 22.45 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.7154, allocations: 7.625 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.7154, allocations: 114.9 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.7155, allocations: 11.44 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.7155, allocations: 13.41 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7155, allocations: 0 / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7155, allocations: 0 / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7155, allocations: 3.938 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7157, allocations: 205.1 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7157, allocations: 0 / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.7159, allocations: 33.97 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7159, allocations: 0 / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7159, allocations: 0 / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7159, allocations: 1.375 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7159, allocations: 3.938 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.7163, allocations: 260.5 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.7164, allocations: 81.58 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.7164, allocations: 11.69 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7165, allocations: 15.48 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.7166, allocations: 18.92 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7166, allocations: 15.03 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.7167, allocations: 96.27 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7167, allocations: 0 / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002067/0.7169, allocations: 14.47 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.717, allocations: 110.5 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.7174, allocations: 125.6 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7174, allocations: 0 / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.7177, allocations: 73.95 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.718, allocations: 12.66 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.7184, allocations: 209.3 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.7185, allocations: 0.6969 MB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.262e-05/0.7186, allocations: 4.625 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.7187, allocations: 22.91 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.7187, allocations: 0 / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of Templates: time 0.003467/0.7221, allocations: 1.331 MB / 1.049 GB, free: 53.33 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1)