Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_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.005202/0.005202, allocations: 102.8 kB / 15.74 MB, free: 6.031 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.001283/0.001283, allocations: 191 kB / 16.67 MB, free: 5.965 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 60.14 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2563, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002471/0.2588, allocations: 1.463 MB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007116/0.2595, allocations: 442.9 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.2596, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.2596, allocations: 7.922 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.872e-05/0.2597, allocations: 7.938 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.2599, allocations: 27.92 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.26, allocations: 55.83 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2601, allocations: 11.98 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.2602, allocations: 23.88 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.2602, allocations: 23.91 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2602, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.2603, allocations: 4 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2603, allocations: 7.984 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.2603, allocations: 23.88 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2604, allocations: 52.08 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2605, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2605, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2605, allocations: 3.938 kB / 1.168 GB, free: 5.168 MB / 0.92 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.0004678/0.2609, allocations: 359.3 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.261, allocations: 12.03 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.261, allocations: 38.69 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.2611, allocations: 4.938 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2612, allocations: 176.3 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2612, allocations: 8.375 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2612, allocations: 4.375 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2613, allocations: 57.81 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2614, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2614, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2614, allocations: 7.938 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.2614, allocations: 31.97 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.2619, allocations: 296.8 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.262, allocations: 58.62 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.2621, allocations: 28.91 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2621, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.2622, allocations: 79.27 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2623, allocations: 4 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002092/0.2625, allocations: 97.61 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2625, allocations: 51.41 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.2626, allocations: 113.7 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2626, allocations: 29.7 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.2627, allocations: 84.14 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.2627, allocations: 27.78 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.2628, allocations: 25.72 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.2628, allocations: 326.8 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.2629, allocations: 16 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.2629, allocations: 47.36 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.263, allocations: 67.36 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.263, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001384/0.2632, allocations: 97.56 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2632, allocations: 8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2632, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2632, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.2633, allocations: 11.94 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2633, allocations: 4 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.2634, allocations: 11.98 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2634, allocations: 7.938 kB / 1.17 GB, free: 2.762 MB / 0.92 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.516e-05/0.2635, allocations: 113.8 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.2635, allocations: 8.031 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.2636, allocations: 7.969 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2636, allocations: 288 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2636, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2636, allocations: 3.984 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.264, allocations: 374.7 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.264, allocations: 4 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.264, allocations: 8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.264, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.264, allocations: 4 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.264, allocations: 3.938 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.264, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2642, allocations: 187.4 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.2642, allocations: 81.11 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2643, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.2643, allocations: 11.92 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2644, allocations: 15.98 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2644, allocations: 0 / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.2644, allocations: 79.28 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2645, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000243/0.2647, allocations: 16 kB / 1.171 GB, free: 1.758 MB / 0.92 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.0003821/0.2651, allocations: 0.7163 MB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2652, allocations: 55.91 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2652, allocations: 0 / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.2653, allocations: 28.16 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2656, allocations: 23.75 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2668, allocations: 1.378 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.267, allocations: 0.6846 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.267, allocations: 4 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.2671, allocations: 19.42 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2671, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.2844, allocations: 1.754 MB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.664, allocations: 3.938 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches