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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001009/0.00101, allocations: 90.98 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007067/0.007067, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7039/0.7043, allocations: 142.4 MB / 0.9552 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001982/0.7063, allocations: 1.62 MB / 0.9568 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.7078, allocations: 1.08 MB / 0.9578 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.7079, allocations: 2.125 kB / 0.9578 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.7082, allocations: 98.3 kB / 0.9579 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.7084, allocations: 77.02 kB / 0.958 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.7087, allocations: 138.6 kB / 0.9581 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.709, allocations: 204.6 kB / 0.9583 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.7091, allocations: 46.3 kB / 0.9584 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.7093, allocations: 86.31 kB / 0.9584 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.7094, allocations: 88.25 kB / 0.9585 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.7094, allocations: 9.312 kB / 0.9585 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.7095, allocations: 46.66 kB / 0.9586 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.7096, allocations: 55.75 kB / 0.9586 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.7097, allocations: 99 kB / 0.9587 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.7099, allocations: 260.1 kB / 0.959 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.71, allocations: 0 / 0.959 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.71, allocations: 1.875 kB / 0.959 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.71, allocations: 0 / 0.959 GB, free: 4.781 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.0007056/0.7107, allocations: 0.5117 MB / 0.9595 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7107, allocations: 8.656 kB / 0.9595 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.7108, allocations: 53.36 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.7108, allocations: 25.03 kB / 0.9596 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.7111, allocations: 289.8 kB / 0.9598 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.7112, allocations: 9.5 kB / 0.9598 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.7112, allocations: 6.875 kB / 0.9598 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.7114, allocations: 129.2 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7115, allocations: 0 / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.7115, allocations: 9.312 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7115, allocations: 2.75 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.7118, allocations: 94.92 kB / 0.9601 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.7123, allocations: 449.6 kB / 0.9605 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.7127, allocations: 140.5 kB / 0.9606 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7128, allocations: 60.45 kB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.7129, allocations: 10.69 kB / 0.9607 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.7131, allocations: 141.9 kB / 0.9608 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.7131, allocations: 0 / 0.9608 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006119/0.7137, allocations: 257.1 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.7138, allocations: 58.41 kB / 0.9611 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.7141, allocations: 331.9 kB / 0.9615 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.7141, allocations: 31.95 kB / 0.9615 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.7142, allocations: 135.5 kB / 0.9616 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.7143, allocations: 42.61 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.7143, allocations: 31.17 kB / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.7144, allocations: 338 kB / 0.962 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.7146, allocations: 87.8 kB / 0.9621 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.7148, allocations: 135.6 kB / 0.9622 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.7152, allocations: 199.8 kB / 0.9624 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7152, allocations: 0.75 kB / 0.9624 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005442/0.7158, allocations: 291.6 kB / 0.9627 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7158, allocations: 4.938 kB / 0.9627 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7158, allocations: 5.953 kB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7158, allocations: 2.312 kB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.716, allocations: 45.8 kB / 0.9627 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.716, allocations: 6.141 kB / 0.9628 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.7162, allocations: 29.33 kB / 0.9628 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.7162, allocations: 12.56 kB / 0.9628 GB, free: 1.781 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.0001265/0.7164, allocations: 160.9 kB / 0.9629 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.7164, allocations: 25.59 kB / 0.963 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.7165, allocations: 30.23 kB / 0.963 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7165, allocations: 2.531 kB / 0.963 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7165, allocations: 0 / 0.963 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7165, allocations: 9.344 kB / 0.963 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.7172, allocations: 0.5624 MB / 0.9636 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7172, allocations: 1.281 kB / 0.9636 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.7173, allocations: 16.39 kB / 0.9636 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7173, allocations: 1.5 kB / 0.9636 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.7173, allocations: 9.312 kB / 0.9636 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7173, allocations: 0 / 0.9636 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7173, allocations: 4.969 kB / 0.9636 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.7178, allocations: 305.2 kB / 0.9639 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.7178, allocations: 104.9 kB / 0.964 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.7179, allocations: 2.312 kB / 0.964 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.718, allocations: 23.11 kB / 0.964 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.7181, allocations: 18.97 kB / 0.964 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.7181, allocations: 4.688 kB / 0.964 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001608/0.7183, allocations: 212.3 kB / 0.9642 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7183, allocations: 0 / 0.9642 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002939/0.7186, allocations: 51.06 kB / 0.9643 GB, free: 0.6211 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.001442/0.72, allocations: 1.154 MB / 0.9654 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.7205, allocations: 195.4 kB / 0.9656 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7205, allocations: 1.062 kB / 0.9656 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.7207, allocations: 82.39 kB / 0.9657 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.7212, allocations: 56.2 kB / 0.9657 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.7246, allocations: 2.633 MB / 0.9683 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.7249, allocations: 0.7545 MB / 0.969 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.725, allocations: 30.25 kB / 0.9691 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.7252, allocations: 76.97 kB / 0.9691 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7252, allocations: 0.9688 kB / 0.9691 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.7406, allocations: 4.828 MB / 0.9739 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.7409, allocations: 247.3 kB / 0.9741 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.617, allocations: 0 / 0.9741 GB, free: 10.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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