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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001282/0.001282, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001548/0.001548, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.986/2.986, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003885, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7676, allocations: 153.8 MB / 1.022 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004154/0.7718, allocations: 1.814 MB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00475/0.7766, allocations: 2.397 MB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.7769, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.7788, allocations: 0.5193 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.7792, allocations: 103.6 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.7803, allocations: 191.4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.7809, allocations: 334.2 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.7812, allocations: 73.05 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.7814, allocations: 127.3 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.7817, allocations: 143.3 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.7818, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.782, allocations: 55.91 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.7823, allocations: 123.5 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.7825, allocations: 129.4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.7833, allocations: 0.5495 MB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7833, allocations: 0 / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7834, allocations: 4 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7834, allocations: 0 / 1.029 GB, free: 9.59 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.001772/0.7851, allocations: 0.837 MB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.7852, allocations: 8.562 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.7854, allocations: 71.06 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.7864, allocations: 419.6 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.7864, allocations: 0 / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.7864, allocations: 4 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.7868, allocations: 104.1 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7868, allocations: 4 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.7868, allocations: 4 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.7868, allocations: 0 / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.787, allocations: 43.97 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.7881, allocations: 0.52 MB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.7887, allocations: 110.6 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.7888, allocations: 32.84 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.7888, allocations: 0 / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.7892, allocations: 87.41 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.7892, allocations: 0 / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006503/0.7898, allocations: 192.8 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.7899, allocations: 106.8 kB / 1.031 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.7919, allocations: 0.9148 MB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.7919, allocations: 29.7 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.7924, allocations: 316 kB / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.7925, allocations: 23.78 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.7925, allocations: 0 / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.7927, allocations: 313.9 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.7929, allocations: 31.86 kB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.7931, allocations: 76.27 kB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.7933, allocations: 31.98 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.7933, allocations: 4 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004827/0.7938, allocations: 164.7 kB / 1.033 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.7938, allocations: 8 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7938, allocations: 0 / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.7939, allocations: 4.031 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.794, allocations: 15.98 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.7941, allocations: 0 / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.7943, allocations: 11.94 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.7943, allocations: 4 kB / 1.033 GB, free: 4.875 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007133/0.7951, allocations: 331.2 kB / 1.033 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.7952, allocations: 67.16 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.7954, allocations: 78.41 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.7954, allocations: 4 kB / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7955, allocations: 0 / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.7955, allocations: 0 / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007813/0.7963, allocations: 405.4 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7963, allocations: 0 / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.7964, allocations: 4 kB / 1.034 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.7964, allocations: 3.984 kB / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.7964, allocations: 4 kB / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7964, allocations: 0 / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7964, allocations: 0 / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.797, allocations: 200.2 kB / 1.034 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.7974, allocations: 148.1 kB / 1.034 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.7975, allocations: 0 / 1.034 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.7977, allocations: 8 kB / 1.034 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.7978, allocations: 7.984 kB / 1.034 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.7978, allocations: 4 kB / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001374/0.7992, allocations: 0.6746 MB / 1.035 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7992, allocations: 0 / 1.035 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005575/0.7998, allocations: 67.98 kB / 1.035 GB, free: 2.801 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.8017, allocations: 430.5 kB / 1.035 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.8021, allocations: 75.88 kB / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8021, allocations: 0 / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.8023, allocations: 31.98 kB / 1.036 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8036, allocations: 159.1 kB / 1.036 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.807, allocations: 1.226 MB / 1.037 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.8079, allocations: 0.9866 MB / 1.038 GB, free: 0 / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.8083, allocations: 43.02 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.8084, allocations: 27.42 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/0.8084, allocations: 4 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of Templates: time 0.02239/0.8308, allocations: 5.631 MB / 1.043 GB, free: 10.43 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