Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_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.006391/0.006391, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001512/0.001512, allocations: 202.3 kB / 16.68 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.558/2.558, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2489, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002089/0.251, allocations: 0.8108 MB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2525, allocations: 1.152 MB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.2525, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.2526, allocations: 7.875 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.857e-05/0.2527, allocations: 19.84 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.2532, allocations: 143.7 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.2534, allocations: 143.7 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2536, allocations: 39.97 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2537, allocations: 55.89 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.2538, allocations: 55.8 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.2539, allocations: 16 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.254, allocations: 27.98 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.254, allocations: 19.86 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.2541, allocations: 55.78 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.2543, allocations: 147.8 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2543, allocations: 15.92 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2544, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.2544, allocations: 0 / 1.169 GB, free: 4.613 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006807/0.2551, allocations: 428.8 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2551, allocations: 12.03 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.2551, allocations: 34.75 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.2552, allocations: 12.89 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2553, allocations: 184.1 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2553, allocations: 12.38 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.2554, allocations: 8.375 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.2556, allocations: 85.72 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2556, allocations: 3.938 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2556, allocations: 0 / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2557, allocations: 0 / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.2559, allocations: 63.94 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.2564, allocations: 388.5 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.2566, allocations: 46.56 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.2567, allocations: 28.92 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2567, allocations: 7.938 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.2569, allocations: 95.34 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.257, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004138/0.2574, allocations: 125.6 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2574, allocations: 55.41 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.2575, allocations: 125.7 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2576, allocations: 37.64 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.2576, allocations: 104.1 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.2576, allocations: 7.906 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.2577, allocations: 41.69 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.2578, allocations: 314.8 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.258, allocations: 55.89 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.2582, allocations: 87.39 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.2584, allocations: 120.2 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2584, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004184/0.2589, allocations: 191.2 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.2589, allocations: 44.19 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2589, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.259, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.259, allocations: 7.984 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2591, allocations: 3.938 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2593, allocations: 43.95 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2593, allocations: 12 kB / 1.171 GB, free: 1.602 MB / 0.92 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.826e-05/0.2594, allocations: 117.8 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.2594, allocations: 7.953 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.2595, allocations: 8.375 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2595, allocations: 4 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2595, allocations: 7.969 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2595, allocations: 3.938 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2596, allocations: 185.6 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2596, allocations: 4 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.2597, allocations: 11.98 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2597, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2597, allocations: 4 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2597, allocations: 0 / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2598, allocations: 3.938 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.26, allocations: 129.3 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.2601, allocations: 85.06 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2601, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.2602, allocations: 11.98 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.2602, allocations: 15.92 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2603, allocations: 0 / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.2603, allocations: 99.64 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2603, allocations: 3.938 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000231/0.2605, allocations: 27.94 kB / 1.172 GB, free: 0.7891 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: 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.0005235/0.2611, allocations: 0.6632 MB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.2615, allocations: 171.4 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2615, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2616, allocations: 35.97 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.2618, allocations: 16.25 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.2637, allocations: 1.611 MB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.264, allocations: 0.6885 MB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.264, allocations: 7.938 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.2641, allocations: 27.42 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.2641, allocations: 0 / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.2825, allocations: 2.792 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.667, allocations: 9.016 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches