Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 59.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7673, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003444/0.7707, allocations: 1.909 MB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.7724, allocations: 1.116 MB / 0.9527 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.7725, allocations: 2.625 kB / 0.9527 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.7729, allocations: 97.86 kB / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.7732, allocations: 94.75 kB / 0.9529 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.7735, allocations: 158 kB / 0.953 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.7738, allocations: 215.2 kB / 0.9532 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.7739, allocations: 46.8 kB / 0.9533 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.7741, allocations: 101.2 kB / 0.9534 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.7742, allocations: 101.8 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.7742, allocations: 12.94 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.7744, allocations: 63.89 kB / 0.9536 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.7745, allocations: 54.23 kB / 0.9536 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.7746, allocations: 93.58 kB / 0.9537 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.7749, allocations: 262.2 kB / 0.9539 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7749, allocations: 1.031 kB / 0.9539 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7749, allocations: 0 / 0.9539 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.7749, allocations: 0 / 0.9539 GB, free: 6.004 MB / 0.7169 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.0008075/0.7757, allocations: 0.5504 MB / 0.9545 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7758, allocations: 8.906 kB / 0.9545 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.7758, allocations: 38.09 kB / 0.9545 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.7759, allocations: 24.28 kB / 0.9546 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.7762, allocations: 294.5 kB / 0.9548 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.7762, allocations: 8.344 kB / 0.9548 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.7763, allocations: 19.98 kB / 0.9549 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.7765, allocations: 111.5 kB / 0.955 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7766, allocations: 0.9688 kB / 0.955 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.7766, allocations: 13.05 kB / 0.955 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7766, allocations: 2 kB / 0.955 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.7769, allocations: 89.34 kB / 0.9551 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.7775, allocations: 448.5 kB / 0.9555 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.7779, allocations: 122.9 kB / 0.9556 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.778, allocations: 69.47 kB / 0.9557 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.7781, allocations: 5.094 kB / 0.9557 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.7783, allocations: 126.8 kB / 0.9558 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.7783, allocations: 0 / 0.9558 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006166/0.779, allocations: 246.2 kB / 0.956 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.779, allocations: 53.19 kB / 0.9561 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.7793, allocations: 332.5 kB / 0.9564 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.7793, allocations: 31.08 kB / 0.9564 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.7794, allocations: 143.2 kB / 0.9566 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.7794, allocations: 42.41 kB / 0.9566 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.7795, allocations: 61.06 kB / 0.9567 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.7796, allocations: 341.7 kB / 0.957 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.7798, allocations: 81.33 kB / 0.9571 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.78, allocations: 129.8 kB / 0.9572 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.7804, allocations: 184.8 kB / 0.9574 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7804, allocations: 0 / 0.9574 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005077/0.7809, allocations: 283.9 kB / 0.9576 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7809, allocations: 5.875 kB / 0.9576 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.7809, allocations: 6.297 kB / 0.9577 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.781, allocations: 2.312 kB / 0.9577 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.7812, allocations: 38.02 kB / 0.9577 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7812, allocations: 7.109 kB / 0.9577 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.7813, allocations: 25.67 kB / 0.9577 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.7814, allocations: 16.16 kB / 0.9577 GB, free: 2.973 MB / 0.7169 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.000126/0.7815, allocations: 157.3 kB / 0.9579 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.7815, allocations: 25.78 kB / 0.9579 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.7816, allocations: 26.36 kB / 0.9579 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.7816, allocations: 2.188 kB / 0.9579 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7816, allocations: 3.938 kB / 0.9579 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7816, allocations: 1.125 kB / 0.9579 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.7823, allocations: 0.5574 MB / 0.9585 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7823, allocations: 0 / 0.9585 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.7824, allocations: 21.55 kB / 0.9585 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7824, allocations: 1.375 kB / 0.9585 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7825, allocations: 5.375 kB / 0.9585 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7825, allocations: 1.375 kB / 0.9585 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.7825, allocations: 0 / 0.9585 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.7829, allocations: 299.6 kB / 0.9588 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.7829, allocations: 104.9 kB / 0.9589 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.783, allocations: 6.188 kB / 0.9589 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.7831, allocations: 12.64 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.7832, allocations: 17.84 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.7832, allocations: 17.48 kB / 0.959 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001673/0.7834, allocations: 208.1 kB / 0.9592 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7834, allocations: 0 / 0.9592 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003193/0.7837, allocations: 48.52 kB / 0.9592 GB, free: 1.809 MB / 0.7169 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.001465/0.7852, allocations: 1.132 MB / 0.9603 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.7857, allocations: 193.6 kB / 0.9605 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7857, allocations: 0.875 kB / 0.9605 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.7859, allocations: 78.59 kB / 0.9606 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.7863, allocations: 64.98 kB / 0.9606 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.7894, allocations: 2.575 MB / 0.9631 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.7897, allocations: 0.7429 MB / 0.9639 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000115/0.7898, allocations: 34.47 kB / 0.9639 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.7899, allocations: 73.88 kB / 0.964 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7899, allocations: 0 / 0.964 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.8152, allocations: 5.321 MB / 0.9692 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.44, allocations: 12.02 kB / 0.9692 GB, free: 11.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches