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.0008169/0.0008169, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008252/0.0008252, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8883/0.8883, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.621/1.621, allocations: 359 MB / 0.6037 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9505 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.47e-05, allocations: 6.281 kB / 0.9505 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002345/0.00236, allocations: 1.89 MB / 0.9524 GB, free: 420 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.00374, allocations: 1.223 MB / 0.9536 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.003853, allocations: 4 kB / 0.9536 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.004221, allocations: 91.5 kB / 0.9537 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.004586, allocations: 143.3 kB / 0.9538 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.004861, allocations: 127.4 kB / 0.9539 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.005103, allocations: 235.4 kB / 0.9541 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.00524, allocations: 37.77 kB / 0.9542 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.005386, allocations: 127.6 kB / 0.9543 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.005499, allocations: 95.75 kB / 0.9544 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.00552, allocations: 12 kB / 0.9544 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.005628, allocations: 51.92 kB / 0.9544 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.005694, allocations: 67.75 kB / 0.9545 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.005749, allocations: 59.77 kB / 0.9546 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.006012, allocations: 287 kB / 0.9548 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.006013, allocations: 0 / 0.9548 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006014, allocations: 4 kB / 0.9548 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.006018, allocations: 0 / 0.9548 GB, free: 13.86 MB / 0.8698 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.0005967/0.006615, allocations: 477 kB / 0.9553 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.006652, allocations: 16.02 kB / 0.9553 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.006684, allocations: 34.75 kB / 0.9553 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.006729, allocations: 28.75 kB / 0.9554 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.006991, allocations: 236.7 kB / 0.9556 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.007005, allocations: 8 kB / 0.9556 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.007024, allocations: 23.91 kB / 0.9556 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.007212, allocations: 118.9 kB / 0.9557 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007219, allocations: 0 / 0.9557 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.007231, allocations: 4 kB / 0.9557 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.007237, allocations: 7.938 kB / 0.9558 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.007387, allocations: 91.86 kB / 0.9558 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.007863, allocations: 399.8 kB / 0.9562 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.008061, allocations: 122.6 kB / 0.9563 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.008143, allocations: 56.81 kB / 0.9564 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.008158, allocations: 4 kB / 0.9564 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.008324, allocations: 122.1 kB / 0.9565 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.008325, allocations: 3.938 kB / 0.9565 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.0003871/0.008713, allocations: 253.3 kB / 0.9568 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.008752, allocations: 63.39 kB / 0.9568 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.008992, allocations: 333.8 kB / 0.9571 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.00901, allocations: 33.7 kB / 0.9572 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.009095, allocations: 140.5 kB / 0.9573 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.009127, allocations: 39.73 kB / 0.9573 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.009195, allocations: 53.66 kB / 0.9574 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.009301, allocations: 338.8 kB / 0.9577 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.009423, allocations: 91.94 kB / 0.9578 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.009566, allocations: 137 kB / 0.9579 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.009787, allocations: 191.2 kB / 0.9581 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009789, allocations: 4 kB / 0.9581 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003132/0.0101, allocations: 281.2 kB / 0.9584 GB, free: 10 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01012, allocations: 11.94 kB / 0.9584 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01013, allocations: 0 / 0.9584 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.01014, allocations: 4 kB / 0.9584 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01026, allocations: 43.91 kB / 0.9584 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.01027, allocations: 8.156 kB / 0.9585 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.01034, allocations: 27.88 kB / 0.9585 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.01036, allocations: 11.94 kB / 0.9585 GB, free: 9.898 MB / 0.8698 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.0001223/0.01049, allocations: 161.5 kB / 0.9586 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.01051, allocations: 23.8 kB / 0.9587 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.01082, allocations: 222.4 kB / 0.9589 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01082, allocations: 7.984 kB / 0.9589 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01082, allocations: 0 / 0.9589 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.01083, allocations: 0 / 0.9589 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.01135, allocations: 0.521 MB / 0.9594 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01135, allocations: 0 / 0.9594 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.01139, allocations: 19.92 kB / 0.9594 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.0114, allocations: 0 / 0.9594 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01141, allocations: 8 kB / 0.9594 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01141, allocations: 4 kB / 0.9594 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01141, allocations: 3.984 kB / 0.9594 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.01166, allocations: 307.6 kB / 0.9597 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.01169, allocations: 19.86 kB / 0.9597 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.01171, allocations: 11.98 kB / 0.9598 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.01178, allocations: 11.98 kB / 0.9598 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.01183, allocations: 19.97 kB / 0.9598 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01184, allocations: 4 kB / 0.9598 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001291/0.01197, allocations: 217.2 kB / 0.96 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01197, allocations: 4 kB / 0.96 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002097/0.01217, allocations: 47.89 kB / 0.96 GB, free: 8.234 MB / 0.8698 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.001043/0.01322, allocations: 1.195 MB / 0.9612 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.0135, allocations: 188.1 kB / 0.9614 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0135, allocations: 0 / 0.9614 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.01375, allocations: 71.8 kB / 0.9615 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.014, allocations: 51.08 kB / 0.9615 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.01608, allocations: 2.641 MB / 0.9641 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.01617, allocations: 141.2 kB / 0.9642 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.01624, allocations: 33.94 kB / 0.9643 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.01633, allocations: 76.47 kB / 0.9643 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/0.01633, allocations: 0 / 0.9643 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.03428, allocations: 6.516 MB / 0.9707 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.028, allocations: 6.703 kB / 0.9707 GB, free: 13.46 MB / 0.8855 GB " [Timeout remaining time 293] (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/jenkins/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: 10.851450345478952]