Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.001168/0.001168, allocations: 186.3 kB / 330.8 MB, free: 480 kB / 250.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.74/1.74, allocations: 225.7 MB / 0.6016 GB, free: 1.66 MB / 426.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.0009698/0.0009698, allocations: 97.44 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 15.94 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2538, allocations: 109.2 MB / 0.9328 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001764/0.2556, allocations: 1.17 MB / 0.9339 GB, free: 5.074 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004776/0.2562, allocations: 207.5 kB / 0.9341 GB, free: 4.871 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.2563, allocations: 3.938 kB / 0.9341 GB, free: 4.867 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.2563, allocations: 3.938 kB / 0.9341 GB, free: 4.863 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.2564, allocations: 11.91 kB / 0.9341 GB, free: 4.852 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2566, allocations: 19.98 kB / 0.9342 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.2567, allocations: 51.86 kB / 0.9342 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2568, allocations: 19.97 kB / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.2569, allocations: 23.91 kB / 0.9342 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.257, allocations: 23.86 kB / 0.9343 GB, free: 4.715 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.257, allocations: 4 kB / 0.9343 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.257, allocations: 0 / 0.9343 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.257, allocations: 11.98 kB / 0.9343 GB, free: 4.699 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.2571, allocations: 45.58 kB / 0.9343 GB, free: 4.648 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.972e-05/0.2572, allocations: 55.75 kB / 0.9344 GB, free: 4.594 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2572, allocations: 0 / 0.9344 GB, free: 4.594 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2572, allocations: 0 / 0.9344 GB, free: 4.594 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2572, allocations: 0 / 0.9344 GB, free: 4.594 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000531/0.2578, allocations: 383.6 kB / 0.9347 GB, free: 4.168 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2578, allocations: 11.98 kB / 0.9348 GB, free: 4.156 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.2579, allocations: 8.844 kB / 0.9348 GB, free: 4.148 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.258, allocations: 172.3 kB / 0.9349 GB, free: 3.941 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.258, allocations: 384 / 0.9349 GB, free: 3.941 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2581, allocations: 8.375 kB / 0.9349 GB, free: 3.934 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2583, allocations: 74.22 kB / 0.935 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2583, allocations: 192 / 0.935 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2583, allocations: 3.938 kB / 0.935 GB, free: 3.852 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2583, allocations: 0 / 0.935 GB, free: 3.852 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.2585, allocations: 63.89 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.2589, allocations: 296.8 kB / 0.9354 GB, free: 3.449 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.2593, allocations: 126.5 kB / 0.9355 GB, free: 3.316 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.825e-05/0.2595, allocations: 32.95 kB / 0.9355 GB, free: 3.281 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.2595, allocations: 4 kB / 0.9355 GB, free: 3.277 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.2597, allocations: 99.22 kB / 0.9356 GB, free: 3.168 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2597, allocations: 0 / 0.9356 GB, free: 3.168 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0003876/0.2601, allocations: 141.6 kB / 0.9357 GB, free: 3.023 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2602, allocations: 59.34 kB / 0.9358 GB, free: 2.953 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.2603, allocations: 117.8 kB / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2603, allocations: 29.7 kB / 0.9359 GB, free: 2.793 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.2603, allocations: 95.97 kB / 0.936 GB, free: 2.695 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2603, allocations: 19.8 kB / 0.936 GB, free: 2.676 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.2603, allocations: 0 / 0.936 GB, free: 2.676 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.2604, allocations: 326.8 kB / 0.9364 GB, free: 2.348 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2605, allocations: 35.98 kB / 0.9364 GB, free: 2.312 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.2606, allocations: 55.41 kB / 0.9364 GB, free: 2.246 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.2608, allocations: 99.33 kB / 0.9365 GB, free: 2.137 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2608, allocations: 0 / 0.9365 GB, free: 2.137 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002579/0.2611, allocations: 117.6 kB / 0.9367 GB, free: 2.016 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2611, allocations: 4 kB / 0.9367 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2611, allocations: 0 / 0.9367 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2611, allocations: 4 kB / 0.9367 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.2612, allocations: 23.91 kB / 0.9367 GB, free: 1.984 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2612, allocations: 4.094 kB / 0.9367 GB, free: 1.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.2613, allocations: 23.89 kB / 0.9367 GB, free: 1.957 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2614, allocations: 4 kB / 0.9367 GB, free: 1.953 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * 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 8.401e-05/0.2614, allocations: 122.4 kB / 0.9368 GB, free: 1.824 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.2615, allocations: 4 kB / 0.9368 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.2615, allocations: 8.375 kB / 0.9368 GB, free: 1.812 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2615, allocations: 4 kB / 0.9368 GB, free: 1.809 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2615, allocations: 0.5625 kB / 0.9368 GB, free: 1.809 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2615, allocations: 4 kB / 0.9369 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.262, allocations: 374.3 kB / 0.9372 GB, free: 1.383 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.262, allocations: 11.98 kB / 0.9372 GB, free: 1.371 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.262, allocations: 4 kB / 0.9372 GB, free: 1.367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.262, allocations: 4 kB / 0.9372 GB, free: 1.363 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2621, allocations: 3.938 kB / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2621, allocations: 0 / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2621, allocations: 7.922 kB / 0.9372 GB, free: 1.352 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.2623, allocations: 211.3 kB / 0.9374 GB, free: 1.129 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2624, allocations: 81.11 kB / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.2624, allocations: 3.984 kB / 0.9375 GB, free: 1.027 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2625, allocations: 19.92 kB / 0.9375 GB, free: 1.008 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.2626, allocations: 19.92 kB / 0.9376 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2626, allocations: 0 / 0.9376 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.2626, allocations: 87.28 kB / 0.9376 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2626, allocations: 0 / 0.9376 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002126/0.2629, allocations: 12 kB / 0.9377 GB, free: 0.8906 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001197/0.263, allocations: 111.2 kB / 0.9378 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2632, allocations: 83.89 kB / 0.9378 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2633, allocations: 0 / 0.9378 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2634, allocations: 39.91 kB / 0.9379 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2637, allocations: 20.09 kB / 0.9379 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.264, allocations: 178.5 kB / 0.9381 GB, free: 436 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.2643, allocations: 0.6904 MB / 0.9387 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.2643, allocations: 11.78 kB / 0.9388 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2643, allocations: 11.44 kB / 0.9388 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.2643, allocations: 0 / 0.9388 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of Templates: time 0.003599/0.268, allocations: 0.7625 MB / 0.9395 GB, free: 14.93 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)