Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Change") 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.854/1.854, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.001055/0.001055, allocations: 182 kB / 382.3 MB, free: 14.84 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.513/1.513, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0008738/0.0008742, allocations: 92.97 kB / 0.7789 GB, free: 46.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 8 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.7989, allocations: 119.2 MB / 1.022 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001263/0.8002, allocations: 480.4 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.8023, allocations: 1.293 MB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.8024, allocations: 5.938 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.8024, allocations: 0 / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.8025, allocations: 9.016 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.8031, allocations: 124.5 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.8032, allocations: 103.8 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.8033, allocations: 14.97 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.8035, allocations: 41.39 kB / 1.024 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.8036, allocations: 37.08 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.8036, allocations: 6 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.8037, allocations: 16.02 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.8037, allocations: 16.08 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.8038, allocations: 62.98 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.8042, allocations: 102.2 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.8042, allocations: 1.062 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8042, allocations: 0 / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8042, allocations: 0 / 1.025 GB, free: 56.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007994/0.805, allocations: 404 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.8051, allocations: 9.625 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.8051, allocations: 10.61 kB / 1.025 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.8053, allocations: 175 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.8054, allocations: 3.094 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.8054, allocations: 14.06 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.8057, allocations: 68.67 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8057, allocations: 192 / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.8058, allocations: 6.812 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8058, allocations: 3.062 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.806, allocations: 56.98 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.8068, allocations: 333 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.807, allocations: 68.44 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.8072, allocations: 42 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.8072, allocations: 1.062 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.8076, allocations: 92.12 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.8077, allocations: 2.125 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006183/0.8083, allocations: 152.7 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.8084, allocations: 62.34 kB / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.8085, allocations: 119.3 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.8085, allocations: 29.14 kB / 1.026 GB, free: 55.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.8086, allocations: 90.94 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.8086, allocations: 23.23 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.8086, allocations: 1.156 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8088, allocations: 324.7 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.809, allocations: 59.27 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.8092, allocations: 91.55 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.8095, allocations: 154.4 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8096, allocations: 0.7969 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005336/0.8101, allocations: 220.2 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.8101, allocations: 43.25 kB / 1.027 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8102, allocations: 5.844 kB / 1.027 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.8102, allocations: 0 / 1.027 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.8103, allocations: 12.53 kB / 1.027 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.8103, allocations: 8.25 kB / 1.027 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.8106, allocations: 55.25 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.8106, allocations: 12.08 kB / 1.027 GB, free: 54.34 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.8107, allocations: 132.7 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.8107, allocations: 3.5 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.8108, allocations: 10.3 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8108, allocations: 1.031 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8108, allocations: 0 / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.8108, allocations: 2.109 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.8113, allocations: 392.1 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8113, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.8114, allocations: 11.45 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.8114, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.8114, allocations: 6.281 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8114, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8114, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.8117, allocations: 220.7 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.8118, allocations: 89.27 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.8118, allocations: 0.8438 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.8119, allocations: 15.91 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.8119, allocations: 7.891 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.812, allocations: 7.625 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.812, allocations: 90.55 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.812, allocations: 0 / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002437/0.8123, allocations: 24.2 kB / 1.028 GB, free: 53.51 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: 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 (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.0001926/0.8125, allocations: 113.6 kB / 1.028 GB, free: 53.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.8129, allocations: 189.8 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8129, allocations: 0 / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.813, allocations: 51.91 kB / 1.028 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.8133, allocations: 16.84 kB / 1.028 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.8137, allocations: 180.7 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.8139, allocations: 0.6932 MB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.8139, allocations: 3.438 kB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.814, allocations: 19.05 kB / 1.029 GB, free: 52.43 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.814, allocations: 0 / 1.029 GB, free: 52.43 MB / 0.698 GB Notification: Performance of Templates: time 0.004087/0.8181, allocations: 1.324 MB / 1.031 GB, free: 52.33 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)