Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001632/0.001632, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001518/0.001518, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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.557/1.557, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.869/2.869, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.894e-05/4.23e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003874/0.003916, allocations: 1.908 MB / 0.9833 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.006511, allocations: 1.212 MB / 0.9845 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.006636, allocations: 7.938 kB / 0.9845 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.007044, allocations: 91.56 kB / 0.9846 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/0.007474, allocations: 147.2 kB / 0.9847 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.007788, allocations: 131.5 kB / 0.9849 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.008125, allocations: 231.4 kB / 0.9851 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.008285, allocations: 33.77 kB / 0.9851 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.008504, allocations: 139.5 kB / 0.9852 GB, free: 7 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.008683, allocations: 99.75 kB / 0.9853 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.008718, allocations: 12 kB / 0.9853 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.008859, allocations: 55.91 kB / 0.9854 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.00896, allocations: 59.77 kB / 0.9855 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.009063, allocations: 55.83 kB / 0.9855 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.009514, allocations: 283 kB / 0.9858 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.009519, allocations: 0 / 0.9858 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/0.009521, allocations: 0 / 0.9858 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.009531, allocations: 0 / 0.9858 GB, free: 6.445 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001081/0.01061, allocations: 492.9 kB / 0.9862 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.01066, allocations: 12.03 kB / 0.9863 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.01073, allocations: 28.75 kB / 0.9863 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.01114, allocations: 225 kB / 0.9865 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.01116, allocations: 11.94 kB / 0.9865 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.01119, allocations: 12 kB / 0.9865 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.01152, allocations: 109.6 kB / 0.9866 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01153, allocations: 0 / 0.9866 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.01155, allocations: 11.98 kB / 0.9866 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01156, allocations: 4 kB / 0.9866 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.01186, allocations: 91.86 kB / 0.9867 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.01259, allocations: 372.3 kB / 0.9871 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.01296, allocations: 122.6 kB / 0.9872 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.01313, allocations: 60.75 kB / 0.9873 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.01315, allocations: 4 kB / 0.9873 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.01347, allocations: 127.3 kB / 0.9874 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.01347, allocations: 0 / 0.9874 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=16): time 0.00074/0.01421, allocations: 253.3 kB / 0.9876 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.01426, allocations: 59.39 kB / 0.9877 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.01467, allocations: 349.7 kB / 0.988 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.0147, allocations: 29.7 kB / 0.988 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01482, allocations: 140.5 kB / 0.9882 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.01487, allocations: 39.73 kB / 0.9882 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.01498, allocations: 61.64 kB / 0.9883 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01515, allocations: 334.8 kB / 0.9886 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.01537, allocations: 83.95 kB / 0.9887 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.01565, allocations: 129.1 kB / 0.9888 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.01609, allocations: 200.3 kB / 0.989 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01609, allocations: 0 / 0.989 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006184/0.01671, allocations: 285.3 kB / 0.9893 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01672, allocations: 4 kB / 0.9893 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01673, allocations: 3.938 kB / 0.9893 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.01675, allocations: 7.938 kB / 0.9893 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.01697, allocations: 43.91 kB / 0.9893 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01698, allocations: 0 / 0.9893 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.01715, allocations: 27.88 kB / 0.9893 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.01718, allocations: 12 kB / 0.9894 GB, free: 2.57 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001874/0.01737, allocations: 169.6 kB / 0.9895 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.01741, allocations: 23.86 kB / 0.9895 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.018, allocations: 221.5 kB / 0.9898 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.018, allocations: 3.938 kB / 0.9898 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01801, allocations: 0 / 0.9898 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01801, allocations: 4 kB / 0.9898 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/0.01891, allocations: 498.1 kB / 0.9902 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01891, allocations: 3.938 kB / 0.9902 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.01901, allocations: 19.97 kB / 0.9903 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01901, allocations: 0 / 0.9903 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01903, allocations: 4 kB / 0.9903 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.01904, allocations: 3.938 kB / 0.9903 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01904, allocations: 0 / 0.9903 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.01958, allocations: 305.1 kB / 0.9906 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.01963, allocations: 35.72 kB / 0.9906 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.01967, allocations: 8 kB / 0.9906 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.01983, allocations: 11.98 kB / 0.9906 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.01989, allocations: 15.97 kB / 0.9906 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.01992, allocations: 12 kB / 0.9906 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002399/0.02016, allocations: 213.2 kB / 0.9908 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.02016, allocations: 0 / 0.9908 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003417/0.0205, allocations: 55.88 kB / 0.9909 GB, free: 0.9297 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001764/0.02226, allocations: 451 kB / 0.9913 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.0228, allocations: 178.3 kB / 0.9915 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0228, allocations: 0 / 0.9915 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.02302, allocations: 71.89 kB / 0.9916 GB, free: 432 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.02355, allocations: 61.64 kB / 0.9916 GB, free: 384 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.0244, allocations: 414.6 kB / 0.992 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.02457, allocations: 141.2 kB / 0.9922 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.02468, allocations: 45.86 kB / 0.9922 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.02477, allocations: 32.48 kB / 0.9922 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.02477, allocations: 0 / 0.9922 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of Templates: time 0.008223/0.03299, allocations: 3.279 MB / 0.9954 GB, free: 12.48 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.351259306073189]