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: 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.001089/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.289/2.289, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6379, allocations: 140.4 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003372/0.6413, allocations: 2.151 MB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.6438, allocations: 2.513 MB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.644, allocations: 5.281 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.6453, allocations: 0.5005 MB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.6456, allocations: 97.27 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.6461, allocations: 215.1 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.6464, allocations: 332.9 kB / 0.9546 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.6466, allocations: 72.75 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.6467, allocations: 112.1 kB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.6469, allocations: 147.7 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.6469, allocations: 4.406 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.6471, allocations: 51.31 kB / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6472, allocations: 126.6 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.6474, allocations: 211 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.6478, allocations: 0.6615 MB / 0.9559 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6478, allocations: 5.734 kB / 0.9559 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6478, allocations: 0 / 0.9559 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6478, allocations: 4 kB / 0.9559 GB, free: 3.906 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.0009702/0.6488, allocations: 0.8691 MB / 0.9568 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.6489, allocations: 8.406 kB / 0.9568 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.6489, allocations: 70.86 kB / 0.9569 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.6494, allocations: 427.5 kB / 0.9573 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6494, allocations: 10.5 kB / 0.9573 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.6494, allocations: 7.016 kB / 0.9573 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.6496, allocations: 102 kB / 0.9574 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6496, allocations: 1.969 kB / 0.9574 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.6497, allocations: 0 / 0.9574 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6497, allocations: 1.781 kB / 0.9574 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.6498, allocations: 43.19 kB / 0.9574 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.6504, allocations: 0.5135 MB / 0.9579 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.6508, allocations: 110.1 kB / 0.958 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.6509, allocations: 33.44 kB / 0.9581 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.6509, allocations: 1.062 kB / 0.9581 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.6511, allocations: 81.78 kB / 0.9582 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.6511, allocations: 4 kB / 0.9582 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003926/0.6515, allocations: 199.3 kB / 0.9583 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.6515, allocations: 108.1 kB / 0.9584 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.6524, allocations: 0.8843 MB / 0.9593 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.6525, allocations: 31.92 kB / 0.9593 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.6527, allocations: 300.5 kB / 0.9596 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.6527, allocations: 14.28 kB / 0.9596 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.6528, allocations: 26.92 kB / 0.9597 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.6528, allocations: 311.1 kB / 0.96 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.6529, allocations: 26.42 kB / 0.96 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.653, allocations: 85.55 kB / 0.9601 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.6531, allocations: 68.91 kB / 0.9601 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6531, allocations: 0.75 kB / 0.9601 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002617/0.6534, allocations: 167.2 kB / 0.9603 GB, free: 436 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6534, allocations: 5.875 kB / 0.9603 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6534, allocations: 0 / 0.9603 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6535, allocations: 1.094 kB / 0.9603 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.6535, allocations: 15.98 kB / 0.9603 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6536, allocations: 5.641 kB / 0.9603 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.6537, allocations: 6.938 kB / 0.9603 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.6537, allocations: 7 kB / 0.9603 GB, free: 420 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.0002571/0.654, allocations: 322.8 kB / 0.9606 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.654, allocations: 69.56 kB / 0.9607 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.6541, allocations: 72.25 kB / 0.9608 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6542, allocations: 1.156 kB / 0.9608 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6542, allocations: 7.922 kB / 0.9608 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6542, allocations: 0 / 0.9608 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.6546, allocations: 383.2 kB / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6546, allocations: 0 / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.6546, allocations: 9.062 kB / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6547, allocations: 1.25 kB / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6547, allocations: 9.359 kB / 0.9612 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6547, allocations: 0 / 0.9612 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.6547, allocations: 9.25 kB / 0.9612 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.655, allocations: 190.4 kB / 0.9614 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.6551, allocations: 130.6 kB / 0.9615 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.6552, allocations: 2.125 kB / 0.9615 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.6553, allocations: 10.61 kB / 0.9615 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.6554, allocations: 20.55 kB / 0.9615 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.6554, allocations: 2.906 kB / 0.9615 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007426/0.6562, allocations: 0.6584 MB / 0.9622 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6562, allocations: 0 / 0.9622 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003061/0.6565, allocations: 53.88 kB / 0.9622 GB, free: 15.11 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.001038/0.6575, allocations: 428.1 kB / 0.9626 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.6578, allocations: 72.66 kB / 0.9627 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6578, allocations: 5.25 kB / 0.9627 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.6579, allocations: 33.17 kB / 0.9627 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.6586, allocations: 139.8 kB / 0.9629 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.6602, allocations: 1.206 MB / 0.964 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.6608, allocations: 0.9803 MB / 0.965 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000155/0.6609, allocations: 43.5 kB / 0.965 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.661, allocations: 25.44 kB / 0.9651 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.661, allocations: 1.094 kB / 0.9651 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.01119/0.6722, allocations: 5.48 MB / 0.9704 GB, free: 10.5 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/jenkins/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