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.001358/0.001357, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001437/0.001437, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.182/2.182, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7797, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.0032/0.783, allocations: 2.094 MB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002904/0.7859, allocations: 2.551 MB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.786, allocations: 1.656 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.7873, allocations: 0.4962 MB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.7876, allocations: 114.1 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.7882, allocations: 241.5 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.7886, allocations: 352.5 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.7888, allocations: 74.72 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.7889, allocations: 122.6 kB / 1.095 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.7892, allocations: 135.2 kB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.7892, allocations: 11.97 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.7894, allocations: 68.36 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.7896, allocations: 135.1 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.7898, allocations: 223.8 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008015/0.7906, allocations: 0.6715 MB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7906, allocations: 0 / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7906, allocations: 1.094 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.7906, allocations: 0 / 1.096 GB, free: 1.098 MB / 0.8575 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.001116/0.7917, allocations: 0.8729 MB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7918, allocations: 12.5 kB / 1.097 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.7919, allocations: 63.19 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.7924, allocations: 436.5 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.7924, allocations: 3.125 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.7924, allocations: 3.141 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.7927, allocations: 99.89 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7927, allocations: 3.938 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7927, allocations: 1.812 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7927, allocations: 1.594 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.7929, allocations: 45.41 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.7937, allocations: 0.5184 MB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.7941, allocations: 97.5 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.7942, allocations: 32.77 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.7943, allocations: 5.938 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.7945, allocations: 91.25 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.7945, allocations: 3.938 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004232/0.7949, allocations: 182.2 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.795, allocations: 107.9 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.7962, allocations: 0.8888 MB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.7962, allocations: 31.05 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.7965, allocations: 301.6 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.7965, allocations: 16.52 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.7966, allocations: 23.92 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.7967, allocations: 312.7 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.7968, allocations: 26.72 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.7969, allocations: 80.22 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.7971, allocations: 72.52 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7971, allocations: 0 / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003034/0.7974, allocations: 168.8 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7974, allocations: 5.406 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7974, allocations: 1.125 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7975, allocations: 0.9375 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.7975, allocations: 14.33 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.7976, allocations: 4.688 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.7977, allocations: 12.88 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7977, allocations: 3.234 kB / 1.1 GB, free: 14.03 MB / 0.8731 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.0003482/0.7981, allocations: 325 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.7982, allocations: 65.95 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.7983, allocations: 74.95 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7983, allocations: 0.6094 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7983, allocations: 5.031 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7984, allocations: 136.6 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.7985, allocations: 6.656 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7987, allocations: 8.594 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.7987, allocations: 11.67 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000293/0.799, allocations: 186.3 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000358/0.7994, allocations: 337.8 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.449e-05/0.7995, allocations: 36.62 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009071/0.8004, allocations: 0.6613 MB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of Backend: time 4.81e-07/0.8004, allocations: 0 / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.8019, allocations: 460.4 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002253/0.8042, allocations: 1.657 MB / 1.104 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.01355/0.8177, allocations: 5.746 MB / 1.11 GB, free: 11.35 MB / 0.8731 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