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.001615/0.001615, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001918/0.001918, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.978/2.978, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 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 2.385e-06/2.385e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.031e-05, allocations: 7.156 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003986/0.004017, allocations: 1.909 MB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.006659, allocations: 1.215 MB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.006785, allocations: 0 / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.007181, allocations: 100.2 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.007647, allocations: 137 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.008016, allocations: 135.4 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.008403, allocations: 223.4 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.008568, allocations: 39.3 kB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.008837, allocations: 135.6 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.009028, allocations: 91.75 kB / 0.8147 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.009065, allocations: 12 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.009214, allocations: 57.11 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.009336, allocations: 67.75 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.009432, allocations: 51.83 kB / 0.8149 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.0099, allocations: 284.6 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.009904, allocations: 0 / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.009905, allocations: 0 / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.009912, allocations: 3.938 kB / 0.8152 GB, free: 13.64 MB / 0.7761 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.001105/0.01102, allocations: 489.6 kB / 0.8156 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.01105, allocations: 8.562 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.01118, allocations: 34.45 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.01169, allocations: 232.9 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.01172, allocations: 19.94 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.01175, allocations: 12 kB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.0121, allocations: 112.1 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01211, allocations: 0.9062 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.01214, allocations: 7.984 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01214, allocations: 4 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.01249, allocations: 93.02 kB / 0.8161 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.01333, allocations: 365.8 kB / 0.8165 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.01374, allocations: 128.3 kB / 0.8166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.01393, allocations: 52.81 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.01396, allocations: 6.562 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.01431, allocations: 128.2 kB / 0.8168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.01431, allocations: 0 / 0.8168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0008556/0.01517, allocations: 265.7 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.01525, allocations: 63.34 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.01576, allocations: 341.8 kB / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.0158, allocations: 29.7 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.01595, allocations: 137 kB / 0.8176 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.01602, allocations: 44.25 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.01617, allocations: 57.69 kB / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.01637, allocations: 336.5 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.01661, allocations: 83.95 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.0169, allocations: 131.7 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.01739, allocations: 196.3 kB / 0.8184 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01739, allocations: 0 / 0.8184 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007197/0.01811, allocations: 295.4 kB / 0.8187 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01813, allocations: 8 kB / 0.8187 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01814, allocations: 2.094 kB / 0.8187 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.01816, allocations: 7.938 kB / 0.8187 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.01839, allocations: 43.91 kB / 0.8187 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.01841, allocations: 4 kB / 0.8187 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.01859, allocations: 27.88 kB / 0.8188 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.01861, allocations: 4.531 kB / 0.8188 GB, free: 9.762 MB / 0.7761 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.0001885/0.0188, allocations: 170.5 kB / 0.8189 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.01886, allocations: 28.98 kB / 0.819 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.01953, allocations: 215.6 kB / 0.8192 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.01954, allocations: 7.938 kB / 0.8192 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01954, allocations: 0 / 0.8192 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01955, allocations: 1.125 kB / 0.8192 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.02051, allocations: 0.491 MB / 0.8196 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.02052, allocations: 7.875 kB / 0.8197 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.02062, allocations: 17.95 kB / 0.8197 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.02063, allocations: 7.938 kB / 0.8197 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.02064, allocations: 4 kB / 0.8197 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.02065, allocations: 0 / 0.8197 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.02065, allocations: 1.344 kB / 0.8197 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.02126, allocations: 311.7 kB / 0.82 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.02132, allocations: 32.53 kB / 0.82 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.02136, allocations: 4 kB / 0.82 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.02153, allocations: 16.62 kB / 0.82 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.02161, allocations: 23.67 kB / 0.8201 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.02163, allocations: 7.984 kB / 0.8201 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002679/0.0219, allocations: 209.2 kB / 0.8203 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0219, allocations: 0 / 0.8203 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003594/0.02226, allocations: 51.92 kB / 0.8203 GB, free: 8.125 MB / 0.7761 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.002118/0.02437, allocations: 449.8 kB / 0.8207 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005846/0.02496, allocations: 183.8 kB / 0.8209 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02496, allocations: 3.938 kB / 0.8209 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.02519, allocations: 70.39 kB / 0.821 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.02567, allocations: 65.16 kB / 0.821 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.02658, allocations: 425.1 kB / 0.8215 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.02677, allocations: 145.5 kB / 0.8216 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.02689, allocations: 29.94 kB / 0.8216 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.02699, allocations: 32.48 kB / 0.8217 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.02699, allocations: 4 kB / 0.8217 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of Templates: time 0.008599/0.03559, allocations: 3.299 MB / 0.8249 GB, free: 3.664 MB / 0.7761 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.06881354097277]