Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.677/1.677, allocations: 291.7 MB / 306.8 MB, free: 7.715 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.001108/0.001108, allocations: 185.5 kB / 375.4 MB, free: 5.125 MB / 298.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.584/1.584, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008211/0.0008208, allocations: 98.58 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005516, allocations: 16.66 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8774/0.878, allocations: 118.1 MB / 1.011 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001021/0.879, allocations: 475.5 kB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.8807, allocations: 1.12 MB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.8808, allocations: 3.594 kB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.8808, allocations: 1.219 kB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.8809, allocations: 7.625 kB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.8814, allocations: 117.5 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.8815, allocations: 93.48 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.8817, allocations: 19.52 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.8818, allocations: 48.48 kB / 1.013 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.8818, allocations: 32.58 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.8819, allocations: 5.812 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.8819, allocations: 19.02 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.882, allocations: 12.17 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.882, allocations: 37.52 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.8822, allocations: 76.61 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8822, allocations: 0 / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8822, allocations: 2.844 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8822, allocations: 0 / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005272/0.8827, allocations: 396.3 kB / 1.013 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.8828, allocations: 11.03 kB / 1.013 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.8828, allocations: 9.531 kB / 1.013 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.8829, allocations: 176.5 kB / 1.013 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.883, allocations: 12.05 kB / 1.013 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.883, allocations: 9.438 kB / 1.014 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8832, allocations: 73.88 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8832, allocations: 192 / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.8833, allocations: 6.75 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8833, allocations: 0.625 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.8835, allocations: 57.34 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.8839, allocations: 330.1 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.8841, allocations: 64.67 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.8842, allocations: 42.92 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.8842, allocations: 2.375 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.8845, allocations: 94.91 kB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.8845, allocations: 0 / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.8849, allocations: 162.1 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.885, allocations: 51.41 kB / 1.014 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.8851, allocations: 123.9 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.8851, allocations: 29.45 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.8852, allocations: 93.53 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.8852, allocations: 18.58 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.8852, allocations: 9.094 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.8853, allocations: 316.6 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.8854, allocations: 55.52 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.8856, allocations: 92.09 kB / 1.015 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.8859, allocations: 163.9 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8859, allocations: 2.719 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003972/0.8863, allocations: 214 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.8863, allocations: 33.27 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8863, allocations: 3.094 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8864, allocations: 3.125 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.8865, allocations: 25.56 kB / 1.015 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.8865, allocations: 0 / 1.015 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.8867, allocations: 53.59 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.8867, allocations: 9.25 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.8868, allocations: 125.2 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.8868, allocations: 4.875 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.8869, allocations: 15.55 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8869, allocations: 2.906 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8869, allocations: 0 / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8869, allocations: 1.656 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.8873, allocations: 392.7 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8873, allocations: 0.9688 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.8874, allocations: 14.33 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8874, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.8874, allocations: 4.125 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8874, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.8874, allocations: 4 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.8877, allocations: 224.8 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.8877, allocations: 86.17 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.8878, allocations: 4.562 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.8879, allocations: 8.484 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.8879, allocations: 6.344 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.8879, allocations: 10.75 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.888, allocations: 93.73 kB / 1.016 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.888, allocations: 0 / 1.016 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002422/0.8882, allocations: 23.31 kB / 1.017 GB, free: 54.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.8884, allocations: 114.9 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.8888, allocations: 188.2 kB / 1.017 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8888, allocations: 0 / 1.017 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.8889, allocations: 42.86 kB / 1.017 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.8892, allocations: 15.41 kB / 1.017 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.8895, allocations: 184.3 kB / 1.017 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.8897, allocations: 0.6876 MB / 1.018 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.8897, allocations: 9.531 kB / 1.018 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.8897, allocations: 11.44 kB / 1.018 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.8897, allocations: 4 kB / 1.018 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.003505/0.8933, allocations: 1.284 MB / 1.019 GB, free: 53.9 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)