Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 187.3 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 160.8 MB / 1.218 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004602/1.037, allocations: 1.947 MB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002861/1.039, allocations: 1.152 MB / 1.222 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/1.04, allocations: 5.969 kB / 1.222 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/1.04, allocations: 91.91 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004103/1.041, allocations: 106.1 kB / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/1.041, allocations: 160.7 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/1.042, allocations: 217.8 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/1.042, allocations: 34.19 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/1.042, allocations: 108.4 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/1.042, allocations: 103.5 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/1.042, allocations: 17.44 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/1.043, allocations: 51.23 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/1.043, allocations: 59.5 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/1.043, allocations: 93 kB / 1.223 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/1.044, allocations: 280.1 kB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.044, allocations: 1.094 kB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/1.044, allocations: 0 / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.044, allocations: 0 / 1.223 GB, free: 484 kB / 0.92 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.001398/1.045, allocations: 0.5444 MB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/1.045, allocations: 9.344 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/1.045, allocations: 28.31 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/1.046, allocations: 296.5 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/1.046, allocations: 13.27 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/1.046, allocations: 14.31 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/1.046, allocations: 113.5 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.046, allocations: 3.938 kB / 1.224 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/1.046, allocations: 5.125 kB / 1.224 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.046, allocations: 2.156 kB / 1.224 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/1.046, allocations: 93.48 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/1.047, allocations: 451.4 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.048, allocations: 121.8 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/1.048, allocations: 61.22 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/1.048, allocations: 1.844 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/1.048, allocations: 126.5 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/1.048, allocations: 1.094 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007802/1.049, allocations: 247.1 kB / 1.225 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/1.049, allocations: 62.67 kB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/1.05, allocations: 326.7 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/1.05, allocations: 32.27 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/1.05, allocations: 131.4 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/1.05, allocations: 42.25 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.05, allocations: 56.06 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.05, allocations: 345.8 kB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/1.051, allocations: 82.58 kB / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/1.051, allocations: 131.7 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/1.051, allocations: 186.9 kB / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.051, allocations: 0 / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006808/1.052, allocations: 285.8 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.052, allocations: 4.688 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.052, allocations: 5.344 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.052, allocations: 2.656 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/1.052, allocations: 47.28 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.052, allocations: 2.75 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/1.053, allocations: 29.55 kB / 1.227 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/1.053, allocations: 15.66 kB / 1.227 GB, free: 13.48 MB / 0.9356 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.0002272/1.053, allocations: 158.5 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/1.053, allocations: 21.67 kB / 1.227 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/1.053, allocations: 205.7 kB / 1.227 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.053, allocations: 6.188 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.053, allocations: 4 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.053, allocations: 1.219 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/1.054, allocations: 0.5451 MB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.054, allocations: 3.938 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.13e-05/1.054, allocations: 18.73 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/1.054, allocations: 0 / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/1.055, allocations: 14.59 kB / 1.227 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.055, allocations: 7.938 kB / 1.227 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.055, allocations: 1.312 kB / 1.227 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/1.055, allocations: 296.6 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.055, allocations: 97.19 kB / 1.228 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/1.055, allocations: 10.58 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/1.055, allocations: 11.42 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/1.055, allocations: 21.31 kB / 1.228 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.055, allocations: 5.25 kB / 1.228 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004038/1.056, allocations: 207.2 kB / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0 / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003922/1.056, allocations: 48.7 kB / 1.228 GB, free: 12.22 MB / 0.9356 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 (16): * Single equations (assignments): 11 * 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.001719/1.058, allocations: 425.9 kB / 1.229 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006105/1.059, allocations: 178 kB / 1.229 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.059, allocations: 3.938 kB / 1.229 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.059, allocations: 62.31 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/1.059, allocations: 62.19 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.06, allocations: 408.9 kB / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/1.061, allocations: 0.7474 MB / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001318/1.061, allocations: 37.98 kB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/1.061, allocations: 29.95 kB / 1.23 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of SimCode: time 1.462e-06/1.061, allocations: 0 / 1.23 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.009179/1.07, allocations: 3.104 MB / 1.233 GB, free: 8.07 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.81926996819675]