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.001694/0.001694, 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.002055/0.002055, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.128/2.128, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4909, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002701/0.4936, allocations: 2.091 MB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.4958, allocations: 2.549 MB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.4959, allocations: 5.375 kB / 0.9543 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009612/0.4968, allocations: 0.5003 MB / 0.9548 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.497, allocations: 109.5 kB / 0.9549 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.4975, allocations: 244.5 kB / 0.9551 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.4978, allocations: 357.7 kB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.498, allocations: 65.06 kB / 0.9555 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4981, allocations: 121.2 kB / 0.9556 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.4982, allocations: 138.8 kB / 0.9557 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.4983, allocations: 9.219 kB / 0.9558 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.4984, allocations: 60.5 kB / 0.9558 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4985, allocations: 128.2 kB / 0.9559 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.4986, allocations: 226.9 kB / 0.9562 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.4991, allocations: 0.6699 MB / 0.9568 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4991, allocations: 0 / 0.9568 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4991, allocations: 0 / 0.9568 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4991, allocations: 0 / 0.9568 GB, free: 3.801 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.0007979/0.4999, allocations: 0.8695 MB / 0.9577 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.4999, allocations: 8.844 kB / 0.9577 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.5, allocations: 37.41 kB / 0.9577 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.5, allocations: 66.12 kB / 0.9578 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.5004, allocations: 439.6 kB / 0.9582 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.5004, allocations: 7.344 kB / 0.9582 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.5004, allocations: 2.25 kB / 0.9582 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.5006, allocations: 102.8 kB / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5006, allocations: 0 / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5006, allocations: 1.094 kB / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5006, allocations: 5.219 kB / 0.9583 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.5007, allocations: 42.03 kB / 0.9583 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.5013, allocations: 0.5154 MB / 0.9588 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.5016, allocations: 102.4 kB / 0.9589 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.5017, allocations: 36.42 kB / 0.959 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.5017, allocations: 5.031 kB / 0.959 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.5019, allocations: 82.81 kB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.5019, allocations: 0 / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003297/0.5022, allocations: 194.9 kB / 0.9592 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.5023, allocations: 108.5 kB / 0.9593 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.5031, allocations: 0.8839 MB / 0.9602 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.5031, allocations: 28.3 kB / 0.9602 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.5033, allocations: 307.8 kB / 0.9605 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.5033, allocations: 15.42 kB / 0.9605 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.5033, allocations: 29.3 kB / 0.9606 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.299e-05/0.5034, allocations: 307.4 kB / 0.9609 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.5035, allocations: 27.11 kB / 0.9609 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.5035, allocations: 73.02 kB / 0.961 GB, free: 444 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.5037, allocations: 73.55 kB / 0.961 GB, free: 396 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5037, allocations: 1.125 kB / 0.961 GB, free: 396 kB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002175/0.5039, allocations: 170.7 kB / 0.9612 GB, free: 288 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5039, allocations: 9.062 kB / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5039, allocations: 0.8438 kB / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5039, allocations: 1.062 kB / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.504, allocations: 19.47 kB / 0.9612 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.504, allocations: 9.109 kB / 0.9612 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.5041, allocations: 7.844 kB / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.5042, allocations: 3.047 kB / 0.9612 GB, free: 264 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.0002185/0.5044, allocations: 320.4 kB / 0.9615 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.5045, allocations: 65.45 kB / 0.9616 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.5046, allocations: 76.08 kB / 0.9617 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5046, allocations: 5.125 kB / 0.9617 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5046, allocations: 3.938 kB / 0.9617 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5046, allocations: 1.062 kB / 0.9617 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.505, allocations: 389.5 kB / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.505, allocations: 192 / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.505, allocations: 6.812 kB / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.505, allocations: 3.938 kB / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.505, allocations: 1.156 kB / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.505, allocations: 5.031 kB / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5051, allocations: 0 / 0.9621 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.5053, allocations: 191 kB / 0.9623 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5054, allocations: 139.6 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.5055, allocations: 1.094 kB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5056, allocations: 11.67 kB / 0.9624 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.5057, allocations: 7.594 kB / 0.9624 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5057, allocations: 6.609 kB / 0.9624 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000653/0.5063, allocations: 0.6587 MB / 0.9631 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5063, allocations: 0 / 0.9631 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002675/0.5066, allocations: 53.97 kB / 0.9631 GB, free: 14.96 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.001312/0.5079, allocations: 1.055 MB / 0.9641 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.5082, allocations: 77.48 kB / 0.9642 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5082, allocations: 1.125 kB / 0.9642 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.5083, allocations: 37.7 kB / 0.9643 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.5088, allocations: 152.9 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.5138, allocations: 4.812 MB / 0.9691 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.5143, allocations: 0.9768 MB / 0.9701 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.5144, allocations: 47.69 kB / 0.9701 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5146, allocations: 178.4 kB / 0.9703 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.215e-06/0.5146, allocations: 0 / 0.9703 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.273/1.788, allocations: 12.31 MB / 0.9823 GB, free: 408 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.754/10.54, allocations: 14.83 kB / 0.9823 GB, free: 396 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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