Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.001675/0.001675, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.298/2.298, allocations: 390.2 MB / 0.6647 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5243, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002883/0.5272, allocations: 2.091 MB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.5296, allocations: 2.56 MB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.5297, allocations: 2.062 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.5308, allocations: 0.4969 MB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.531, allocations: 114.2 kB / 0.9549 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.5315, allocations: 232.2 kB / 0.9551 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.5319, allocations: 356.8 kB / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.532, allocations: 68.67 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.5321, allocations: 125.8 kB / 0.9556 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.5323, allocations: 138.5 kB / 0.9558 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.5323, allocations: 8.531 kB / 0.9558 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.5325, allocations: 62.05 kB / 0.9558 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.5326, allocations: 132.1 kB / 0.9559 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.5328, allocations: 214.6 kB / 0.9562 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.5333, allocations: 0.6692 MB / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5333, allocations: 0 / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5333, allocations: 1.375 kB / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.5333, allocations: 0 / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008834/0.5342, allocations: 0.8689 MB / 0.9577 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5342, allocations: 13.62 kB / 0.9577 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.5342, allocations: 36.11 kB / 0.9577 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.5343, allocations: 66.34 kB / 0.9578 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.5347, allocations: 436.3 kB / 0.9582 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5347, allocations: 10.27 kB / 0.9582 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.5347, allocations: 3 kB / 0.9582 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.5349, allocations: 97.7 kB / 0.9583 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.535, allocations: 1.594 kB / 0.9583 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.535, allocations: 4 kB / 0.9583 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.535, allocations: 1.25 kB / 0.9583 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.5351, allocations: 42.53 kB / 0.9583 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.5357, allocations: 0.5143 MB / 0.9588 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.5361, allocations: 111.5 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.577e-05/0.5362, allocations: 31.88 kB / 0.959 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5362, allocations: 1.125 kB / 0.959 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.5363, allocations: 82.19 kB / 0.9591 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.5364, allocations: 3.984 kB / 0.9591 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003729/0.5367, allocations: 199.9 kB / 0.9592 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.5368, allocations: 111.9 kB / 0.9594 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.5377, allocations: 0.8844 MB / 0.9602 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.5377, allocations: 27.08 kB / 0.9602 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.5379, allocations: 301 kB / 0.9605 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.5379, allocations: 19.08 kB / 0.9605 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.538, allocations: 25.94 kB / 0.9606 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.538, allocations: 311.3 kB / 0.9609 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.5381, allocations: 31.19 kB / 0.9609 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.5382, allocations: 76.69 kB / 0.961 GB, free: 460 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.5383, allocations: 70.44 kB / 0.961 GB, free: 416 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5384, allocations: 0 / 0.961 GB, free: 416 kB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002409/0.5386, allocations: 162.9 kB / 0.9612 GB, free: 316 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5386, allocations: 4.969 kB / 0.9612 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5386, allocations: 9.219 kB / 0.9612 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5386, allocations: 1.469 kB / 0.9612 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.5387, allocations: 19.61 kB / 0.9612 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5387, allocations: 400 / 0.9612 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5389, allocations: 11.72 kB / 0.9612 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.5389, allocations: 2.688 kB / 0.9612 GB, free: 292 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0002394/0.5391, allocations: 315.3 kB / 0.9615 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.5392, allocations: 65.84 kB / 0.9616 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.5393, allocations: 77.34 kB / 0.9617 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5394, allocations: 11.92 kB / 0.9617 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5394, allocations: 0 / 0.9617 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5394, allocations: 0 / 0.9617 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.5397, allocations: 382 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5398, allocations: 0 / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.5398, allocations: 6.125 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5398, allocations: 5.047 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5398, allocations: 1.312 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5398, allocations: 3.938 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5398, allocations: 5.281 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.5402, allocations: 198.3 kB / 0.9623 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5403, allocations: 127.4 kB / 0.9624 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.5403, allocations: 5.125 kB / 0.9624 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5405, allocations: 11.64 kB / 0.9624 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.5405, allocations: 15.86 kB / 0.9624 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.5406, allocations: 2.344 kB / 0.9624 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007613/0.5413, allocations: 0.6551 MB / 0.9631 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5413, allocations: 4 kB / 0.9631 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003048/0.5416, allocations: 56.05 kB / 0.9631 GB, free: 14.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001465/0.5431, allocations: 1.053 MB / 0.9641 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.5434, allocations: 74.38 kB / 0.9642 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5434, allocations: 4.062 kB / 0.9642 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.73e-05/0.5435, allocations: 46.53 kB / 0.9643 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.5441, allocations: 148.7 kB / 0.9644 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.5499, allocations: 4.809 MB / 0.9691 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.5505, allocations: 0.9801 MB / 0.9701 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.5507, allocations: 43.17 kB / 0.9701 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.551, allocations: 178.4 kB / 0.9703 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.551, allocations: 0 / 0.9703 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.5799, allocations: 12.31 MB / 0.9823 GB, free: 336 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/8.134, allocations: 13.81 kB / 0.9823 GB, free: 324 kB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches