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.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.001808/0.001808, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002111/0.002111, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.529/1.529, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 1.104 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9081, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003809/0.9119, allocations: 1.938 MB / 1.271 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.9139, allocations: 1.13 MB / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.914, allocations: 0 / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.9145, allocations: 95.56 kB / 1.272 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.9148, allocations: 99.58 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.9152, allocations: 159.5 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.9156, allocations: 223.4 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.9157, allocations: 35.72 kB / 1.272 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.9159, allocations: 103.6 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.916, allocations: 107.5 kB / 1.273 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.9161, allocations: 12 kB / 1.273 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.9162, allocations: 59.97 kB / 1.273 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.9163, allocations: 59.81 kB / 1.273 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.9164, allocations: 87.41 kB / 1.273 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.9168, allocations: 274.8 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9168, allocations: 4 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9168, allocations: 0 / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9168, allocations: 4 kB / 1.273 GB, free: 0.8398 MB / 0.9669 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.000954/0.9177, allocations: 0.545 MB / 1.274 GB, free: 252 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.9178, allocations: 8.031 kB / 1.274 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.9178, allocations: 42.73 kB / 1.274 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.9179, allocations: 28.75 kB / 1.274 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.9183, allocations: 295.2 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.9183, allocations: 8 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.9184, allocations: 12 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.9187, allocations: 116.4 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9187, allocations: 3.938 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9187, allocations: 3.938 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.9187, allocations: 4 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.919, allocations: 83.92 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.9197, allocations: 456.4 kB / 1.275 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.9201, allocations: 126.6 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.9202, allocations: 52.83 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.9202, allocations: 3.984 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.9205, allocations: 129.2 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.9205, allocations: 0 / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006547/0.9212, allocations: 264.1 kB / 1.275 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.9213, allocations: 55.41 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.9216, allocations: 322.6 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.9216, allocations: 29.7 kB / 1.276 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.9217, allocations: 140.5 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.9218, allocations: 39.69 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.9219, allocations: 57.69 kB / 1.276 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.922, allocations: 342.8 kB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.9222, allocations: 79.95 kB / 1.276 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.9225, allocations: 141.5 kB / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.9229, allocations: 191.2 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9229, allocations: 0 / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005592/0.9235, allocations: 285.2 kB / 1.277 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9235, allocations: 8 kB / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9235, allocations: 0 / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.9235, allocations: 4 kB / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.9237, allocations: 43.91 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.9237, allocations: 4 kB / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.9239, allocations: 27.88 kB / 1.277 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.9239, allocations: 12.16 kB / 1.277 GB, free: 12.68 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.0001611/0.9241, allocations: 161.7 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.9241, allocations: 23.86 kB / 1.277 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.9242, allocations: 22.19 kB / 1.277 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.9242, allocations: 7.984 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9242, allocations: 0 / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.9242, allocations: 0 / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.925, allocations: 0.5567 MB / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.925, allocations: 0 / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.9251, allocations: 11.98 kB / 1.278 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9251, allocations: 4 kB / 1.278 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.9251, allocations: 3.938 kB / 1.278 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.9251, allocations: 3.984 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9251, allocations: 0 / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.9256, allocations: 299.2 kB / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.9257, allocations: 100.9 kB / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.9257, allocations: 8 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.9259, allocations: 15.97 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.926, allocations: 19.98 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.926, allocations: 7.938 kB / 1.278 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002298/0.9262, allocations: 209.9 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9262, allocations: 0 / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003087/0.9265, allocations: 47.94 kB / 1.278 GB, free: 11.1 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.00233/0.9288, allocations: 1.151 MB / 1.279 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.9293, allocations: 167.8 kB / 1.28 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9294, allocations: 0 / 1.28 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.9296, allocations: 67.89 kB / 1.28 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.93, allocations: 62.73 kB / 1.28 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.9334, allocations: 2.57 MB / 1.282 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.9338, allocations: 0.7557 MB / 1.283 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.934, allocations: 33.92 kB / 1.283 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.9341, allocations: 75.41 kB / 1.283 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/0.9341, allocations: 3.938 kB / 1.283 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.964, allocations: 5.469 MB / 1.288 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/9.487, allocations: 12.94 kB / 1.288 GB, free: 0.8438 MB / 0.9825 GB " [Timeout remaining time 290] (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_2/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: 15.718311564065516]