Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_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.004813/0.004813, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001087/0.001087, allocations: 188.6 kB / 16.67 MB, free: 5.422 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.115/2.115, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7658, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002583/0.7684, allocations: 1.475 MB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.7691, allocations: 439.1 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.7692, allocations: 5.5 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.7693, allocations: 1.5 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.7694, allocations: 13.12 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.7695, allocations: 17.78 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.7696, allocations: 55.34 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.7698, allocations: 16.02 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.7698, allocations: 18.53 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.7699, allocations: 27 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.7699, allocations: 4.188 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.7699, allocations: 4.688 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.77, allocations: 8.328 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.77, allocations: 29.72 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.7701, allocations: 50.45 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7701, allocations: 0 / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.053e-06/0.7701, allocations: 4.516 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7701, allocations: 1.312 kB / 1.09 GB, free: 3.809 MB / 0.8575 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.0004472/0.7706, allocations: 356.8 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7706, allocations: 13.56 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.7707, allocations: 36.84 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.7707, allocations: 8.594 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.7708, allocations: 165.2 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.7708, allocations: 2.188 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.7709, allocations: 13.38 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.771, allocations: 61.94 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.771, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.771, allocations: 1.609 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.771, allocations: 1.625 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.115e-05/0.7711, allocations: 29.23 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.7715, allocations: 307.4 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.7717, allocations: 53.45 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.7717, allocations: 23.09 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.7717, allocations: 1 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.7719, allocations: 74.59 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.7719, allocations: 0 / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002208/0.7721, allocations: 104.9 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.7722, allocations: 54.39 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.7722, allocations: 107.3 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.7723, allocations: 31.08 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.7723, allocations: 83.09 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.7723, allocations: 25.34 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.7724, allocations: 28.33 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.7724, allocations: 322.2 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.7725, allocations: 23.02 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.7725, allocations: 44.86 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.7726, allocations: 65.34 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7726, allocations: 1.25 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001316/0.7727, allocations: 96.95 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7728, allocations: 10.34 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7728, allocations: 5.797 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7728, allocations: 1.094 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.7729, allocations: 9.109 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7729, allocations: 1.734 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.773, allocations: 19.61 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.773, allocations: 6.531 kB / 1.092 GB, free: 1.84 MB / 0.8575 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 5.962e-05/0.773, allocations: 120 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.7731, allocations: 3.688 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.7731, allocations: 12.77 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7731, allocations: 1.344 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7731, allocations: 1.094 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7731, allocations: 4.5 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.7735, allocations: 355.7 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.7735, allocations: 1.719 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.7735, allocations: 3.828 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7735, allocations: 1.062 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7735, allocations: 4.703 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.7735, allocations: 5.688 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7735, allocations: 0 / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.7737, allocations: 179 kB / 1.092 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.7737, allocations: 83.17 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.7737, allocations: 9.641 kB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.7738, allocations: 10.05 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.7739, allocations: 7.594 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.7739, allocations: 6.125 kB / 1.092 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.7739, allocations: 84.92 kB / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7739, allocations: 0 / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002375/0.7742, allocations: 16.48 kB / 1.092 GB, free: 1.016 MB / 0.8575 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.0004086/0.7746, allocations: 0.7129 MB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.7747, allocations: 63.11 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7748, allocations: 0 / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.7748, allocations: 23.39 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.7751, allocations: 15.72 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.7764, allocations: 1.386 MB / 1.095 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.7766, allocations: 0.6887 MB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.7767, allocations: 5.078 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.7767, allocations: 17.02 kB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7767, allocations: 0 / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.7934, allocations: 1.761 MB / 1.097 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/8.056, allocations: 3.562 kB / 1.097 GB, free: 13.88 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_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_Continuous_Examples_OffTimer.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches