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.007917/0.007917, allocations: 99.7 kB / 15.73 MB, free: 6.004 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.001862/0.001862, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.186/2.186, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.791, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003127/0.7941, allocations: 2.1 MB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.7971, allocations: 2.556 MB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.7972, allocations: 1.875 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.7985, allocations: 0.4939 MB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.7988, allocations: 115.2 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.7996, allocations: 237.2 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.8, allocations: 358.3 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.8002, allocations: 67.5 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.8003, allocations: 131.1 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.8005, allocations: 130.2 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.8005, allocations: 12.53 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.8007, allocations: 64.23 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.8009, allocations: 131.1 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.8011, allocations: 220.2 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008437/0.802, allocations: 0.6823 MB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.802, allocations: 0.6562 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.802, allocations: 0 / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.802, allocations: 0.5625 kB / 1.095 GB, free: 1.07 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.001098/0.8031, allocations: 0.8921 MB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.8031, allocations: 9.469 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.8032, allocations: 74.25 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.8037, allocations: 442 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.8038, allocations: 7.016 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.8038, allocations: 7.25 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.804, allocations: 100.2 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.804, allocations: 0.5156 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.8041, allocations: 5.406 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8041, allocations: 0.9375 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.8042, allocations: 41.5 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.8051, allocations: 0.5188 MB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.8055, allocations: 102.1 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.8056, allocations: 32.92 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.8057, allocations: 0.7188 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.8059, allocations: 95.17 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 3.457e-06/0.8059, allocations: 96 / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004438/0.8063, allocations: 199.2 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.8064, allocations: 104.5 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.8076, allocations: 0.8839 MB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.8076, allocations: 27.39 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.8079, allocations: 300.9 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.808, allocations: 24.88 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.8081, allocations: 24.19 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.8082, allocations: 313.2 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.8082, allocations: 26.56 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.8084, allocations: 75.64 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.8085, allocations: 72.11 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8085, allocations: 0 / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003141/0.8089, allocations: 177.5 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8089, allocations: 6.297 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8089, allocations: 0 / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8089, allocations: 0.9375 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.809, allocations: 14.09 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.809, allocations: 1.75 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.8092, allocations: 8.859 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.8092, allocations: 7.766 kB / 1.1 GB, free: 13.96 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.0003422/0.8095, allocations: 321.8 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.8096, allocations: 73.44 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.8098, allocations: 74.8 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8098, allocations: 1.188 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8098, allocations: 1.516 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8098, allocations: 0 / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.8103, allocations: 383.2 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8103, allocations: 5.703 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.8103, allocations: 10.73 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.8103, allocations: 1.156 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8104, allocations: 1.672 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.8104, allocations: 0.5625 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8104, allocations: 1.391 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.8107, allocations: 191.1 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.8108, allocations: 141 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.8109, allocations: 6 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.811, allocations: 14.11 kB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.8111, allocations: 6.656 kB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.8111, allocations: 7.406 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008555/0.812, allocations: 0.6534 MB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.812, allocations: 0 / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003272/0.8123, allocations: 63.42 kB / 1.101 GB, free: 12.91 MB / 0.8731 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.0009959/0.8133, allocations: 421.5 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.8136, allocations: 79.98 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8136, allocations: 3.938 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.8137, allocations: 35.52 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.8144, allocations: 160.8 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.8161, allocations: 1.1 MB / 1.103 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.8167, allocations: 0.9833 MB / 1.104 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.8168, allocations: 37.12 kB / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.8169, allocations: 25.05 kB / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8169, allocations: 0 / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.01269/0.8296, allocations: 5.695 MB / 1.11 GB, free: 10.89 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/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