Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001698/0.001698, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001591/0.001591, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 66.45 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3422, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003735/0.3459, allocations: 1.969 MB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.3483, allocations: 1.298 MB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.3484, allocations: 7.938 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.3488, allocations: 99.55 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.3492, allocations: 131.4 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3496, allocations: 143.5 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.3499, allocations: 223.4 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3501, allocations: 33.31 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.3503, allocations: 111.5 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3505, allocations: 107.6 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.3506, allocations: 12 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3507, allocations: 67.89 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.3508, allocations: 55.83 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.351, allocations: 95.41 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.3514, allocations: 279.5 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3514, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3514, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3515, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 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.001053/0.3525, allocations: 488.9 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3526, allocations: 11.97 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.3526, allocations: 42.73 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.3527, allocations: 28.75 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.3531, allocations: 232.9 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3531, allocations: 12 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3532, allocations: 8 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3535, allocations: 121.6 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3535, allocations: 7.875 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3535, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3536, allocations: 7.984 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.3538, allocations: 83.94 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.3547, allocations: 423.5 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.355, allocations: 126.6 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3552, allocations: 52.83 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3552, allocations: 0 / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.3555, allocations: 127.4 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3555, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006704/0.3562, allocations: 260 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3563, allocations: 51.41 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.3567, allocations: 341.8 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3567, allocations: 29.7 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3568, allocations: 144.4 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3568, allocations: 43.69 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.3569, allocations: 57.69 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3571, allocations: 338.8 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.3573, allocations: 83.95 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.3577, allocations: 134.3 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.3581, allocations: 196.3 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3581, allocations: 0 / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006177/0.3587, allocations: 285.2 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3587, allocations: 8 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3587, allocations: 0 / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3587, allocations: 4 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3589, allocations: 43.91 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.359, allocations: 4 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3591, allocations: 28.02 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.3591, allocations: 12 kB / 1.292 GB, free: 3.055 MB / 0.9825 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.0001658/0.3593, allocations: 165.5 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3593, allocations: 23.86 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.3598, allocations: 203.6 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3598, allocations: 4 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3598, allocations: 4 kB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3598, allocations: 0 / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/0.3607, allocations: 0.5168 MB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3607, allocations: 0 / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.3608, allocations: 19.98 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3608, allocations: 0 / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3608, allocations: 11.92 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3608, allocations: 3.938 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3608, allocations: 4 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.3613, allocations: 297.6 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3613, allocations: 23.8 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3614, allocations: 11.98 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3615, allocations: 15.92 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.3616, allocations: 19.97 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3616, allocations: 11.94 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002358/0.3618, allocations: 209.2 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3618, allocations: 0 / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003509/0.3622, allocations: 51.94 kB / 1.293 GB, free: 1.398 MB / 0.9825 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.002475/0.3647, allocations: 1.148 MB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.3652, allocations: 171.7 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3652, allocations: 4 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3654, allocations: 68.2 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.3658, allocations: 65.3 kB / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.3697, allocations: 2.617 MB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3702, allocations: 0.7519 MB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.3703, allocations: 33.94 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3704, allocations: 75.41 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of SimCode: time 1.373e-06/0.3704, allocations: 0 / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.406, allocations: 5.75 MB / 1.304 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 8.75 kB / 1.304 GB, free: 6.809 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.628135378006846]