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.001983/0.001983, allocations: 84.73 kB / 19.44 MB, free: 360 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.002599/0.002599, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.587e-06/3.587e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.186e-05/5.544e-05, allocations: 7.156 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003615/0.003671, allocations: 0.7437 MB / 0.8783 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.007012, allocations: 1.166 MB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.007105, allocations: 1.531 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.007157, allocations: 5.031 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.007289, allocations: 12.09 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.008125, allocations: 132.6 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.00846, allocations: 121.2 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.00859, allocations: 11.98 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.008839, allocations: 63.89 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.009021, allocations: 43.86 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.009067, allocations: 9.219 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.009186, allocations: 16 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.009224, allocations: 11.98 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.009342, allocations: 39.89 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.009757, allocations: 131 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.009764, allocations: 0 / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.009765, allocations: 4 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.009773, allocations: 0 / 0.88 GB, free: 3.992 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.00105/0.01082, allocations: 335.8 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.01088, allocations: 8.031 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.01101, allocations: 16.88 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.01123, allocations: 113.7 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.01126, allocations: 4.969 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.0113, allocations: 9.938 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.01163, allocations: 66.2 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01164, allocations: 192 / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01166, allocations: 4.375 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.01167, allocations: 1.844 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.01199, allocations: 43.89 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.01283, allocations: 256.4 kB / 0.8809 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01316, allocations: 58.61 kB / 0.8809 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.01336, allocations: 32.95 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.01338, allocations: 0 / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.01384, allocations: 99.19 kB / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.01384, allocations: 0 / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0008366/0.01468, allocations: 145.7 kB / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.01475, allocations: 51.41 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01495, allocations: 125.8 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.01501, allocations: 29.7 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01513, allocations: 92.12 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01517, allocations: 15.91 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.01532, allocations: 37.7 kB / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002718/0.01559, allocations: 318.8 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.01594, allocations: 89.66 kB / 0.8819 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.01635, allocations: 117.9 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.01687, allocations: 137.9 kB / 0.8822 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01688, allocations: 0 / 0.8822 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009905/0.01787, allocations: 269 kB / 0.8824 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.01794, allocations: 36.05 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.01795, allocations: 0 / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.01798, allocations: 0 / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.01816, allocations: 11.98 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.01818, allocations: 4 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.0186, allocations: 44.03 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.01864, allocations: 8 kB / 0.8825 GB, free: 1.219 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.0002297/0.01887, allocations: 122.2 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.01893, allocations: 23.94 kB / 0.8827 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.01899, allocations: 12.44 kB / 0.8827 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.01899, allocations: 3.984 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.019, allocations: 0 / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.019, allocations: 4 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.01983, allocations: 314.1 kB / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01984, allocations: 0 / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.01993, allocations: 11.92 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.01994, allocations: 0 / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01996, allocations: 4 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.01996, allocations: 0 / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01996, allocations: 0 / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.02054, allocations: 215.4 kB / 0.8832 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.02057, allocations: 7.953 kB / 0.8832 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.0206, allocations: 3.984 kB / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.02075, allocations: 8 kB / 0.8832 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.02083, allocations: 7.984 kB / 0.8832 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.02085, allocations: 0 / 0.8832 GB, free: 440 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001204/0.02097, allocations: 95.2 kB / 0.8833 GB, free: 344 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/0.02097, allocations: 3.938 kB / 0.8833 GB, free: 340 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005605/0.02153, allocations: 28 kB / 0.8833 GB, free: 312 kB / 0.8386 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.0002873/0.02181, allocations: 103.2 kB / 0.8834 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.02258, allocations: 189.1 kB / 0.8836 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.02258, allocations: 4 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.02279, allocations: 31.97 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.02335, allocations: 17.58 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.02405, allocations: 176.9 kB / 0.8838 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.02417, allocations: 71.2 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.02424, allocations: 7.984 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.0243, allocations: 12.5 kB / 0.8839 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.0243, allocations: 4 kB / 0.8839 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.009256/0.03355, allocations: 1.6 MB / 0.8855 GB, free: 14.06 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 800] 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.610079198027961]