Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.4/3.4, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.8775 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.26e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00211/0.002143, allocations: 0.7557 MB / 0.8782 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.003991, allocations: 1.161 MB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.004048, allocations: 4 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.004076, allocations: 5.031 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.004179, allocations: 18.7 kB / 0.8794 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.004675, allocations: 132.2 kB / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.004879, allocations: 117.3 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.00497, allocations: 11.97 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.005117, allocations: 63.89 kB / 0.8797 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005218, allocations: 35.94 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.005252, allocations: 14.94 kB / 0.8797 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.358e-05/0.005326, allocations: 23.98 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.005348, allocations: 7.938 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.005428, allocations: 35.95 kB / 0.8798 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.00567, allocations: 131.6 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.005672, allocations: 0 / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.71e-07/0.005673, allocations: 0 / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.005678, allocations: 0 / 0.8799 GB, free: 4.188 MB / 0.8386 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.000656/0.006334, allocations: 435.3 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.006371, allocations: 8.031 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.006439, allocations: 16.89 kB / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.006579, allocations: 124.5 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.006597, allocations: 5 kB / 0.8805 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.006617, allocations: 6.031 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.006789, allocations: 58.23 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006798, allocations: 192 / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006807, allocations: 384 / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006814, allocations: 4.375 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.00695, allocations: 36.73 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.007477, allocations: 320.3 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.007657, allocations: 67.05 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.00774, allocations: 27.8 kB / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.007755, allocations: 0 / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.007951, allocations: 92.92 kB / 0.8811 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.007952, allocations: 0 / 0.8811 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004133/0.008365, allocations: 129.7 kB / 0.8812 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.008414, allocations: 55.41 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.008576, allocations: 193.9 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.00861, allocations: 29.7 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.008706, allocations: 138.9 kB / 0.8816 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.008735, allocations: 19.89 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.008829, allocations: 43.36 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.009083, allocations: 0.4923 MB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.009273, allocations: 89.67 kB / 0.8822 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.009599, allocations: 128.1 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.009869, allocations: 152 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009871, allocations: 0 / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005046/0.01038, allocations: 256.8 kB / 0.8827 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.01043, allocations: 41.69 kB / 0.8828 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01043, allocations: 4 kB / 0.8828 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.01045, allocations: 7.938 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01056, allocations: 16.06 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.01057, allocations: 3.984 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.01075, allocations: 23.94 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.01078, allocations: 12.31 kB / 0.8828 GB, free: 0.9141 MB / 0.8386 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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.0001781/0.01096, allocations: 170.6 kB / 0.883 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.01098, allocations: 15.89 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.01102, allocations: 8.438 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01103, allocations: 0 / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01103, allocations: 4 kB / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01104, allocations: 4 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.01163, allocations: 369.3 kB / 0.8834 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01163, allocations: 4 kB / 0.8834 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.01167, allocations: 4 kB / 0.8834 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01167, allocations: 0 / 0.8834 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01169, allocations: 3.984 kB / 0.8834 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01169, allocations: 0 / 0.8834 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01169, allocations: 0 / 0.8834 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.01206, allocations: 259.8 kB / 0.8836 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.01208, allocations: 7.953 kB / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.0121, allocations: 7.984 kB / 0.8836 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.01217, allocations: 0 / 0.8836 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.01224, allocations: 7.984 kB / 0.8836 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.01225, allocations: 8 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.01234, allocations: 135.2 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01234, allocations: 0 / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002651/0.0126, allocations: 20 kB / 0.8838 GB, free: 15.83 MB / 0.8542 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.0001835/0.01279, allocations: 103.2 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.01322, allocations: 220.7 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01322, allocations: 0 / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.01334, allocations: 47.61 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01364, allocations: 23.86 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.01406, allocations: 162.7 kB / 0.8843 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.153e-05/0.01416, allocations: 79.58 kB / 0.8844 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.01419, allocations: 3.859 kB / 0.8844 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.01423, allocations: 20.5 kB / 0.8844 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01423, allocations: 0 / 0.8844 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.005295/0.01952, allocations: 1.606 MB / 0.886 GB, free: 13.53 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.572783378069289]