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.00146/0.00146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001765/0.001765, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.329/2.329, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/0.5884, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003006/0.5915, allocations: 2.149 MB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.5939, allocations: 2.501 MB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.594, allocations: 6.656 kB / 0.9537 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.5951, allocations: 0.4933 MB / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.5953, allocations: 96.84 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.5959, allocations: 213.7 kB / 0.9544 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.5963, allocations: 402.3 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.5964, allocations: 69.33 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.5966, allocations: 126.1 kB / 0.955 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.5967, allocations: 150.1 kB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.5968, allocations: 8.094 kB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.5969, allocations: 66.31 kB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.5971, allocations: 130.4 kB / 0.9553 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.5972, allocations: 215.1 kB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.5977, allocations: 0.669 MB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5977, allocations: 0 / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5977, allocations: 0 / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.5977, allocations: 5.312 kB / 0.9562 GB, free: 3.887 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.0009208/0.5986, allocations: 0.8732 MB / 0.9571 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5987, allocations: 9.625 kB / 0.9571 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.5988, allocations: 66.34 kB / 0.9571 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.5992, allocations: 428.1 kB / 0.9575 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5992, allocations: 10.69 kB / 0.9576 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5992, allocations: 2.75 kB / 0.9576 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.5994, allocations: 106.3 kB / 0.9577 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5994, allocations: 4 kB / 0.9577 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.5994, allocations: 1.375 kB / 0.9577 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5994, allocations: 1.375 kB / 0.9577 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.5996, allocations: 42.69 kB / 0.9577 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.6002, allocations: 0.5186 MB / 0.9582 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.6005, allocations: 101.8 kB / 0.9583 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.6006, allocations: 33.5 kB / 0.9583 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.6007, allocations: 1.406 kB / 0.9583 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.6008, allocations: 84.75 kB / 0.9584 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6008, allocations: 5.125 kB / 0.9584 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003989/0.6012, allocations: 190.7 kB / 0.9586 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.6013, allocations: 112.8 kB / 0.9587 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.6022, allocations: 0.8838 MB / 0.9596 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.6022, allocations: 31.45 kB / 0.9596 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.6024, allocations: 300.5 kB / 0.9599 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.6024, allocations: 11.34 kB / 0.9599 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.6025, allocations: 33.36 kB / 0.9599 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.6025, allocations: 311 kB / 0.9602 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.6026, allocations: 27.52 kB / 0.9603 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.6027, allocations: 77.27 kB / 0.9603 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.6028, allocations: 69.22 kB / 0.9604 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6028, allocations: 1.531 kB / 0.9604 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002343/0.6031, allocations: 170.7 kB / 0.9606 GB, free: 416 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6031, allocations: 5.031 kB / 0.9606 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6031, allocations: 1.219 kB / 0.9606 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6031, allocations: 0 / 0.9606 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.6032, allocations: 15.7 kB / 0.9606 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6032, allocations: 9.25 kB / 0.9606 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.6034, allocations: 7.625 kB / 0.9606 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.6034, allocations: 3.344 kB / 0.9606 GB, free: 400 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.0002779/0.6037, allocations: 321.9 kB / 0.9609 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.6037, allocations: 65.75 kB / 0.961 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.6038, allocations: 72.25 kB / 0.961 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6038, allocations: 5.125 kB / 0.961 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6039, allocations: 3.938 kB / 0.9611 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6039, allocations: 5.078 kB / 0.9611 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.6043, allocations: 381.4 kB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6043, allocations: 0 / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.6043, allocations: 6.062 kB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.6043, allocations: 5.219 kB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6044, allocations: 13.3 kB / 0.9614 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6044, allocations: 0 / 0.9614 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6044, allocations: 7.906 kB / 0.9615 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.6047, allocations: 187.6 kB / 0.9616 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6048, allocations: 131.7 kB / 0.9618 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.6049, allocations: 1.094 kB / 0.9618 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.605, allocations: 7.328 kB / 0.9618 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.6051, allocations: 16.27 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.6051, allocations: 6.812 kB / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007372/0.6058, allocations: 0.6547 MB / 0.9624 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6058, allocations: 0 / 0.9624 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000297/0.6061, allocations: 57.8 kB / 0.9625 GB, free: 15.09 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.0009572/0.6071, allocations: 426.5 kB / 0.9629 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.6073, allocations: 78.23 kB / 0.963 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6074, allocations: 4.062 kB / 0.963 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.6074, allocations: 33.64 kB / 0.963 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.6081, allocations: 150.7 kB / 0.9631 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.6097, allocations: 1.212 MB / 0.9643 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.6102, allocations: 0.9756 MB / 0.9653 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.6104, allocations: 43.45 kB / 0.9653 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.6105, allocations: 26.59 kB / 0.9653 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.6105, allocations: 0 / 0.9653 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.01156/0.622, allocations: 5.645 MB / 0.9709 GB, free: 10.39 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