Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",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.007078/0.007078, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001795/0.001795, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.84 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6697, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002617/0.6724, allocations: 1.461 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.6731, allocations: 442.9 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.6732, allocations: 4 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.6732, allocations: 7.922 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.6733, allocations: 3.938 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.6734, allocations: 27.91 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.6735, allocations: 47.91 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.6737, allocations: 16.03 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.6737, allocations: 15.94 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.6738, allocations: 27.8 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.6738, allocations: 11.98 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.6738, allocations: 4 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.6739, allocations: 15.92 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.6739, allocations: 19.94 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.674, allocations: 42.48 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.674, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.674, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6741, allocations: 4 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000526/0.6746, allocations: 360.3 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6746, allocations: 12.03 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.6747, allocations: 38.75 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.6747, allocations: 8.875 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.6749, allocations: 172.3 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6749, allocations: 12.31 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.6749, allocations: 4.375 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.675, allocations: 53.81 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.675, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.6751, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6751, allocations: 4 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.6751, allocations: 31.97 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.6756, allocations: 296.7 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.6758, allocations: 58.56 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.6758, allocations: 28.94 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.6758, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.676, allocations: 79.38 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.676, allocations: 0 / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002308/0.6762, allocations: 101.6 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.6763, allocations: 59.34 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.6764, allocations: 109.8 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.6764, allocations: 29.7 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.6765, allocations: 80.14 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.6765, allocations: 27.84 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.6766, allocations: 25.72 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6767, allocations: 327.1 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.6767, allocations: 12 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.6768, allocations: 51.36 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.6769, allocations: 63.42 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6769, allocations: 7.938 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001577/0.6771, allocations: 97.5 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6771, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6771, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6771, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.6772, allocations: 8 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6772, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/0.6773, allocations: 15.95 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.6773, allocations: 11.94 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.995e-05/0.6774, allocations: 118.9 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.6774, allocations: 7.953 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.6775, allocations: 7.969 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6775, allocations: 4 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6775, allocations: 0 / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6775, allocations: 3.984 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.6779, allocations: 358.4 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6779, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.678, allocations: 8.062 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.678, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.678, allocations: 3.938 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.678, allocations: 7.938 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.678, allocations: 3.938 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.6782, allocations: 179.5 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.6783, allocations: 85.33 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.6783, allocations: 4 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.6784, allocations: 7.922 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.6784, allocations: 19.91 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.6784, allocations: 4 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.6785, allocations: 79.47 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6785, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002502/0.6788, allocations: 23.89 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004775/0.6792, allocations: 0.7091 MB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.6794, allocations: 55.91 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6794, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.6795, allocations: 27.94 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.6797, allocations: 15.92 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.6811, allocations: 1.374 MB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.6814, allocations: 0.6885 MB / 1.228 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.6815, allocations: 11.94 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.6815, allocations: 19.42 kB / 1.228 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6815, allocations: 0 / 1.228 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.7039, allocations: 1.761 MB / 1.23 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/8.335, allocations: 4.531 kB / 1.23 GB, free: 7.711 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches