Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.007199/0.007199, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.00186/0.00186, allocations: 191.6 kB / 16.67 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.12 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2501, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001909/0.252, allocations: 0.8152 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2532, allocations: 1.159 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.2533, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.2534, allocations: 7.875 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.2534, allocations: 15.86 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.2539, allocations: 138.9 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2541, allocations: 151.7 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2542, allocations: 35.92 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.2543, allocations: 55.84 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.2544, allocations: 63.8 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2544, allocations: 12 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.2545, allocations: 31.97 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.2545, allocations: 19.92 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.2546, allocations: 51.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2548, allocations: 155.4 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2548, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2548, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2548, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005651/0.2554, allocations: 432.8 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2554, allocations: 8.031 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.2555, allocations: 42.73 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.2555, allocations: 12.89 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.2556, allocations: 172.3 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2556, allocations: 8.375 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.2557, allocations: 12.36 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2559, allocations: 86.16 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2559, allocations: 7.938 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2559, allocations: 7.938 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2559, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2561, allocations: 62.33 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.2567, allocations: 376.6 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.2568, allocations: 62.48 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.2569, allocations: 28.92 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2569, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.2572, allocations: 91.27 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2572, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003977/0.2576, allocations: 121.6 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2576, allocations: 55.39 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.2577, allocations: 141.5 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2577, allocations: 29.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.2578, allocations: 104.1 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2578, allocations: 15.91 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.2579, allocations: 41.69 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.258, allocations: 314.8 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2582, allocations: 55.95 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2583, allocations: 83.33 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.2586, allocations: 120.2 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2586, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004029/0.259, allocations: 187.2 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.259, allocations: 37.69 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2591, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2591, allocations: 384 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.2592, allocations: 19.92 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2592, allocations: 3.938 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.2594, allocations: 43.95 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2594, allocations: 4 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.224e-05/0.2595, allocations: 118.4 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.2595, allocations: 11.95 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.2596, allocations: 12.36 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2596, allocations: 0 / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2596, allocations: 7.938 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2596, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.2597, allocations: 197.5 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2598, allocations: 3.938 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.2598, allocations: 4 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2598, allocations: 96 / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2598, allocations: 7.922 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.2599, allocations: 8 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2599, allocations: 7.875 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.2601, allocations: 117 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.2602, allocations: 85.05 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2602, allocations: 4 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.2603, allocations: 7.984 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.2603, allocations: 19.92 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2603, allocations: 4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.2604, allocations: 91.27 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2604, allocations: 0 / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002235/0.2606, allocations: 28 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005089/0.2611, allocations: 0.6592 MB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.2615, allocations: 175.3 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2615, allocations: 0 / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2617, allocations: 36.22 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2619, allocations: 20.19 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2637, allocations: 1.607 MB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2639, allocations: 0.6924 MB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.2639, allocations: 7.984 kB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.264, allocations: 19.44 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.264, allocations: 0 / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.2808, allocations: 2.815 MB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.475, allocations: 11.38 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches