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.001102/0.001102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008819/0.008819, allocations: 169.6 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.344 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.353/2.353, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6952, allocations: 142.4 MB / 0.9551 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002251/0.6975, allocations: 1.797 MB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.7, allocations: 2.462 MB / 0.9592 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.7001, allocations: 1.375 kB / 0.9592 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.7013, allocations: 0.5059 MB / 0.9597 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.7015, allocations: 103.3 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.7021, allocations: 211.7 kB / 0.96 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.7024, allocations: 340.9 kB / 0.9603 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.7026, allocations: 64.16 kB / 0.9604 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.7027, allocations: 111.2 kB / 0.9605 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.7029, allocations: 143.9 kB / 0.9606 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.7029, allocations: 2.75 kB / 0.9606 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.703, allocations: 58.22 kB / 0.9607 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.7032, allocations: 122.5 kB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.7033, allocations: 240 kB / 0.961 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.7038, allocations: 0.6473 MB / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7038, allocations: 0 / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7038, allocations: 1.125 kB / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7038, allocations: 0 / 0.9617 GB, free: 2.672 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.0008983/0.7047, allocations: 0.7979 MB / 0.9625 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.7048, allocations: 9.469 kB / 0.9625 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.7049, allocations: 71.28 kB / 0.9625 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.7053, allocations: 424.5 kB / 0.9629 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.7053, allocations: 9.781 kB / 0.9629 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.7053, allocations: 6.625 kB / 0.963 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.7055, allocations: 98.12 kB / 0.963 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7055, allocations: 3.938 kB / 0.9631 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.7055, allocations: 5.391 kB / 0.9631 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.7056, allocations: 5.312 kB / 0.9631 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.7057, allocations: 42.7 kB / 0.9631 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.7063, allocations: 0.5113 MB / 0.9636 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.7067, allocations: 110.1 kB / 0.9637 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.7068, allocations: 36.94 kB / 0.9637 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.7068, allocations: 5.141 kB / 0.9637 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.707, allocations: 81.56 kB / 0.9638 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.707, allocations: 0 / 0.9638 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003906/0.7074, allocations: 195.4 kB / 0.964 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.7074, allocations: 109.4 kB / 0.9641 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.7083, allocations: 0.8883 MB / 0.965 GB, free: 100 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.7084, allocations: 29.61 kB / 0.965 GB, free: 68 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.7087, allocations: 297.2 kB / 0.9653 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.7087, allocations: 18.86 kB / 0.9653 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.7087, allocations: 16.66 kB / 0.9653 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.7088, allocations: 307.5 kB / 0.9656 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.7089, allocations: 30.2 kB / 0.9657 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.709, allocations: 77.77 kB / 0.9657 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.7092, allocations: 78.39 kB / 0.9658 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7092, allocations: 0 / 0.9658 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002649/0.7095, allocations: 164 kB / 0.966 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7095, allocations: 4.438 kB / 0.966 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7095, allocations: 1 kB / 0.966 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7095, allocations: 0.9688 kB / 0.966 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.7096, allocations: 20.14 kB / 0.966 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7096, allocations: 3.938 kB / 0.966 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.7098, allocations: 12.19 kB / 0.966 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.7098, allocations: 2.875 kB / 0.966 GB, free: 15.22 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.000315/0.7101, allocations: 320.7 kB / 0.9663 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.7102, allocations: 60.69 kB / 0.9664 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.7103, allocations: 72.28 kB / 0.9664 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7103, allocations: 5.672 kB / 0.9664 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.7103, allocations: 3.938 kB / 0.9664 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7103, allocations: 5.031 kB / 0.9664 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.7107, allocations: 381.1 kB / 0.9668 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7108, allocations: 4.969 kB / 0.9668 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.7108, allocations: 10 kB / 0.9668 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7108, allocations: 3.984 kB / 0.9668 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7108, allocations: 1.281 kB / 0.9668 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7108, allocations: 1.094 kB / 0.9668 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7108, allocations: 3.938 kB / 0.9668 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.7111, allocations: 194.9 kB / 0.967 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.7113, allocations: 139.5 kB / 0.9672 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.7113, allocations: 10.19 kB / 0.9672 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.7115, allocations: 3.344 kB / 0.9672 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.7115, allocations: 11.89 kB / 0.9672 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.7116, allocations: 3 kB / 0.9672 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000794/0.7124, allocations: 0.6588 MB / 0.9678 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.754e-06/0.7124, allocations: 0 / 0.9678 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003082/0.7127, allocations: 57.84 kB / 0.9679 GB, free: 13.92 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.0009983/0.7137, allocations: 433 kB / 0.9683 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.7139, allocations: 69.3 kB / 0.9684 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.7139, allocations: 0.9062 kB / 0.9684 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.714, allocations: 42.09 kB / 0.9684 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.7147, allocations: 139.6 kB / 0.9685 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.7164, allocations: 1.221 MB / 0.9697 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.717, allocations: 0.9812 MB / 0.9707 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.7172, allocations: 43.58 kB / 0.9707 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.7172, allocations: 25.55 kB / 0.9707 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.7172, allocations: 0 / 0.9707 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.01208/0.7293, allocations: 5.443 MB / 0.9761 GB, free: 9.309 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