Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.001101/0.001101, allocations: 186 kB / 382.3 MB, free: 14.83 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.488/1.488, allocations: 225.7 MB / 0.6617 GB, free: 7.27 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 101.2 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003417, allocations: 12 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6267, allocations: 119.2 MB / 1.022 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001122/0.6279, allocations: 0.5718 MB / 1.023 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.6294, allocations: 1.328 MB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.6295, allocations: 3.625 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.6295, allocations: 3.938 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.6297, allocations: 20.02 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.6302, allocations: 141.3 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.6304, allocations: 149.9 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.6305, allocations: 32.77 kB / 1.024 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.6306, allocations: 56.78 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.6307, allocations: 52.03 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.6308, allocations: 7.438 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.6309, allocations: 23.86 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.6309, allocations: 18.3 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.631, allocations: 82.09 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.6313, allocations: 153.2 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6313, allocations: 0.75 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6313, allocations: 1.25 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6313, allocations: 0 / 1.025 GB, free: 56.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005673/0.6319, allocations: 439.1 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6319, allocations: 10.64 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.632, allocations: 12.88 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.6325, allocations: 259.6 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.6326, allocations: 11.95 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.6326, allocations: 18.81 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.6329, allocations: 94.89 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6329, allocations: 12.03 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.6329, allocations: 4.656 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6329, allocations: 2.969 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.6331, allocations: 53.05 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.6339, allocations: 385.7 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.634, allocations: 37.55 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.6341, allocations: 31.03 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.6341, allocations: 2.062 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.6344, allocations: 110.9 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.6344, allocations: 0 / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004152/0.6348, allocations: 143.8 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.6349, allocations: 63.25 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.635, allocations: 139.6 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.635, allocations: 32.45 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.6351, allocations: 110.6 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.6351, allocations: 30.41 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.6351, allocations: 10.72 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.6352, allocations: 321 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.6353, allocations: 57.81 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.6355, allocations: 132.6 kB / 1.027 GB, free: 54.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.6358, allocations: 211.6 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6358, allocations: 0 / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004479/0.6363, allocations: 251.9 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.6363, allocations: 41.14 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6363, allocations: 2.625 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6364, allocations: 4.031 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.6365, allocations: 28.06 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.6365, allocations: 15.95 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.6367, allocations: 48.47 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.6368, allocations: 12.41 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 8.854e-05/0.6369, allocations: 136.9 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.6369, allocations: 9.281 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.6369, allocations: 13.84 kB / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6369, allocations: 2.641 kB / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6369, allocations: 3.938 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6369, allocations: 0 / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.6374, allocations: 403.4 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6374, allocations: 0 / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.6375, allocations: 16.02 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6376, allocations: 3.938 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6376, allocations: 8.172 kB / 1.028 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6376, allocations: 4.453 kB / 1.028 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6376, allocations: 4 kB / 1.028 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.638, allocations: 251 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.6381, allocations: 94.45 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.6381, allocations: 4.938 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.6382, allocations: 11.02 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.6383, allocations: 10.2 kB / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.6383, allocations: 5.109 kB / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.6384, allocations: 106.1 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6384, allocations: 0 / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002691/0.6386, allocations: 32.05 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001674/0.6388, allocations: 121.3 kB / 1.029 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.6392, allocations: 184.6 kB / 1.029 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6392, allocations: 4.25 kB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.6393, allocations: 50.5 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.6396, allocations: 12.23 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.6401, allocations: 318.1 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.6402, allocations: 0.7068 MB / 1.03 GB, free: 52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.005e-05/0.6403, allocations: 12.94 kB / 1.03 GB, free: 52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.6403, allocations: 16.02 kB / 1.03 GB, free: 51.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.6403, allocations: 3.938 kB / 1.03 GB, free: 51.98 MB / 0.698 GB Notification: Performance of Templates: time 0.003962/0.6443, allocations: 1.528 MB / 1.032 GB, free: 51.85 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)