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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 92.08 kB / 16.02 MB, free: 80 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.001508/0.001509, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003731, allocations: 15.98 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7459, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002183/0.7481, allocations: 1.797 MB / 0.9575 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.7506, allocations: 2.47 MB / 0.9599 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.7507, allocations: 1.375 kB / 0.9599 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.7518, allocations: 0.5008 MB / 0.9604 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.752, allocations: 100.1 kB / 0.9605 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.7525, allocations: 211.2 kB / 0.9607 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.7529, allocations: 338.2 kB / 0.961 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.753, allocations: 68.58 kB / 0.9611 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.7531, allocations: 106.5 kB / 0.9612 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.7533, allocations: 147.4 kB / 0.9613 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.7533, allocations: 2.938 kB / 0.9613 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.7535, allocations: 50.84 kB / 0.9614 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.7536, allocations: 122.7 kB / 0.9615 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.7538, allocations: 244 kB / 0.9617 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.7542, allocations: 0.535 MB / 0.9622 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7542, allocations: 5.219 kB / 0.9622 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7542, allocations: 0 / 0.9622 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.7542, allocations: 0 / 0.9622 GB, free: 2.809 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.0009088/0.7552, allocations: 0.7973 MB / 0.963 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.7552, allocations: 9.312 kB / 0.963 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.014e-05/0.7553, allocations: 66.47 kB / 0.9631 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.7557, allocations: 424.7 kB / 0.9635 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.7557, allocations: 6 kB / 0.9635 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.7558, allocations: 7 kB / 0.9635 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.756, allocations: 97.7 kB / 0.9636 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.756, allocations: 0.75 kB / 0.9636 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.756, allocations: 4.75 kB / 0.9636 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.756, allocations: 1.5 kB / 0.9636 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.7561, allocations: 46.78 kB / 0.9636 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.7568, allocations: 0.5226 MB / 0.9642 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.7572, allocations: 98.89 kB / 0.9643 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.7572, allocations: 36.12 kB / 0.9643 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.7573, allocations: 5.016 kB / 0.9643 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.7574, allocations: 90.19 kB / 0.9644 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.7575, allocations: 3.938 kB / 0.9644 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003882/0.7578, allocations: 191.4 kB / 0.9646 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.7579, allocations: 108.7 kB / 0.9647 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.7588, allocations: 0.8878 MB / 0.9655 GB, free: 244 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.7589, allocations: 31.8 kB / 0.9656 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.7591, allocations: 296.7 kB / 0.9658 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.7592, allocations: 26.3 kB / 0.9659 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.7592, allocations: 16.47 kB / 0.9659 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7593, allocations: 311.4 kB / 0.9662 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.7594, allocations: 26.14 kB / 0.9662 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.7595, allocations: 74.14 kB / 0.9663 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.7597, allocations: 73.58 kB / 0.9664 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7597, allocations: 0.9062 kB / 0.9664 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002715/0.76, allocations: 163.5 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.76, allocations: 6.719 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.76, allocations: 1.094 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.76, allocations: 0.9688 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.7601, allocations: 19.55 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7601, allocations: 5.156 kB / 0.9665 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.7602, allocations: 11.44 kB / 0.9666 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.7603, allocations: 7.375 kB / 0.9666 GB, free: 15.36 MB / 0.7325 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.0003228/0.7606, allocations: 320.4 kB / 0.9669 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.7607, allocations: 61.03 kB / 0.9669 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.7608, allocations: 72.19 kB / 0.967 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7608, allocations: 4.844 kB / 0.967 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7608, allocations: 5.094 kB / 0.967 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7608, allocations: 0 / 0.967 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.7613, allocations: 390.3 kB / 0.9674 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7613, allocations: 0 / 0.9674 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.7613, allocations: 10.03 kB / 0.9674 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7613, allocations: 0.9688 kB / 0.9674 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.7614, allocations: 1.031 kB / 0.9674 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7614, allocations: 3.984 kB / 0.9674 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7614, allocations: 4.938 kB / 0.9674 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.7617, allocations: 186.4 kB / 0.9676 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.7618, allocations: 135.5 kB / 0.9677 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.7619, allocations: 6.719 kB / 0.9677 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.762, allocations: 10.64 kB / 0.9677 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.7621, allocations: 16.61 kB / 0.9677 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.7621, allocations: 7.125 kB / 0.9677 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008621/0.763, allocations: 0.6537 MB / 0.9684 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.763, allocations: 1.094 kB / 0.9684 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003069/0.7633, allocations: 53.38 kB / 0.9684 GB, free: 14.07 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.001033/0.7643, allocations: 429.2 kB / 0.9688 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.7646, allocations: 73.25 kB / 0.9689 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7646, allocations: 0 / 0.9689 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.7647, allocations: 37.14 kB / 0.9689 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.7654, allocations: 142.1 kB / 0.9691 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.7671, allocations: 1.28 MB / 0.9703 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.7677, allocations: 0.9844 MB / 0.9713 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.7678, allocations: 21.75 kB / 0.9713 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7678, allocations: 0 / 0.9713 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.01029/0.7781, allocations: 6.587 MB / 0.9777 GB, free: 8.574 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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