Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01691/0.01691, allocations: 169.8 kB / 16.27 MB, free: 6.344 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.479/1.479, 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 10.1.1-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 12 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7188, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003391/0.7222, allocations: 1.864 MB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.7266, allocations: 2.551 MB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.7269, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.7291, allocations: 0.5465 MB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.7295, allocations: 107.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.7305, allocations: 214.7 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.7313, allocations: 358.3 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.7315, allocations: 69.08 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.7318, allocations: 119.3 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.7322, allocations: 151.2 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.7323, allocations: 4 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.7326, allocations: 51.97 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.7328, allocations: 127.5 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.7332, allocations: 248.1 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.7343, allocations: 0.6731 MB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.7343, allocations: 4 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.486e-06/0.7343, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.246e-05/0.7343, allocations: 4 kB / 1.03 GB, free: 8.875 MB / 0.7794 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.002085/0.7364, allocations: 0.8177 MB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.7365, allocations: 12.03 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.7367, allocations: 75.94 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.7375, allocations: 452.1 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.7375, allocations: 384 / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.7376, allocations: 16.12 kB / 1.031 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.7378, allocations: 104.2 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7379, allocations: 0 / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.7379, allocations: 4 kB / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7379, allocations: 0 / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.738, allocations: 43.91 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.739, allocations: 0.5239 MB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.7394, allocations: 106.7 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.7395, allocations: 36.84 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.7395, allocations: 3.984 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.7397, allocations: 83.38 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.7397, allocations: 4 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004625/0.7402, allocations: 192.7 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.7403, allocations: 106.8 kB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.7415, allocations: 0.9188 MB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.7416, allocations: 25.7 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.7419, allocations: 316 kB / 1.034 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.7419, allocations: 19.8 kB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.742, allocations: 13.72 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7422, allocations: 317.9 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.7423, allocations: 23.98 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.7424, allocations: 76.27 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.7426, allocations: 77.61 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7426, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002902/0.7429, allocations: 164.8 kB / 1.034 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7429, allocations: 11.88 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7429, allocations: 400 / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.7429, allocations: 4 kB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.743, allocations: 15.98 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.743, allocations: 4 kB / 1.034 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.7432, allocations: 15.97 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.7432, allocations: 0 / 1.034 GB, free: 4.059 MB / 0.7794 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.0003847/0.7436, allocations: 330.2 kB / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.7437, allocations: 71.19 kB / 1.035 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.7438, allocations: 82.39 kB / 1.035 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7438, allocations: 4 kB / 1.035 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7438, allocations: 0 / 1.035 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.7439, allocations: 3.938 kB / 1.035 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.7443, allocations: 389.4 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7443, allocations: 0 / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.7444, allocations: 11.94 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7444, allocations: 0 / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7444, allocations: 3.984 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7444, allocations: 4 kB / 1.035 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7444, allocations: 4 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.7447, allocations: 196.2 kB / 1.035 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.7449, allocations: 140.2 kB / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.745, allocations: 11.98 kB / 1.036 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.7451, allocations: 4 kB / 1.036 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.7451, allocations: 7.984 kB / 1.036 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.7452, allocations: 15.94 kB / 1.036 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008849/0.7461, allocations: 0.6746 MB / 1.036 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7461, allocations: 0 / 1.036 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000317/0.7464, allocations: 64 kB / 1.036 GB, free: 1.973 MB / 0.7794 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.00114/0.7476, allocations: 425 kB / 1.037 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.7478, allocations: 71.95 kB / 1.037 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7478, allocations: 4.062 kB / 1.037 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.7479, allocations: 43.91 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.7487, allocations: 148.4 kB / 1.037 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.7505, allocations: 1.276 MB / 1.038 GB, free: 140 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.7512, allocations: 0.9944 MB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.7514, allocations: 51.25 kB / 1.039 GB, free: 15.06 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.123e-05/0.7515, allocations: 23.44 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.7515, allocations: 0 / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of Templates: time 0.01445/0.766, allocations: 5.811 MB / 1.045 GB, free: 9.363 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches