Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009542/0.0009541, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 179.3 kB / 16.92 MB, free: 6.918 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.49/1.49, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.000366, allocations: 12.34 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003148/0.3422, allocations: 1.87 MB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.346, allocations: 2.555 MB / 1.064 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3462, allocations: 7.938 kB / 1.064 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.3478, allocations: 0.5332 MB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.3482, allocations: 107.5 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.3489, allocations: 206.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.3495, allocations: 365.4 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.3496, allocations: 77.05 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.3499, allocations: 115.4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.3502, allocations: 151.2 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.3502, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.3504, allocations: 51.97 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.3506, allocations: 131.4 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.3509, allocations: 252.1 kB / 1.066 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.3515, allocations: 0.5571 MB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3515, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3516, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.854e-05/0.3516, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 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.001338/0.3529, allocations: 0.8217 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.353, allocations: 8.031 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.3531, allocations: 68.09 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.3538, allocations: 463.9 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3539, allocations: 4.312 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3539, allocations: 8.125 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3541, allocations: 100.2 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3541, allocations: 0 / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3542, allocations: 11.94 kB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3542, allocations: 0 / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3543, allocations: 39.97 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.3552, allocations: 0.5201 MB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.3557, allocations: 106.7 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.3558, allocations: 32.84 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.3558, allocations: 4 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.356, allocations: 79.38 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.356, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004371/0.3565, allocations: 200.7 kB / 1.069 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.3565, allocations: 106.8 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3578, allocations: 0.9187 MB / 1.07 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.3579, allocations: 29.7 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.3581, allocations: 316 kB / 1.07 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.3582, allocations: 19.73 kB / 1.07 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3582, allocations: 21.7 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3583, allocations: 309.9 kB / 1.07 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.3584, allocations: 31.98 kB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3585, allocations: 76.2 kB / 1.07 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3587, allocations: 65.7 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3587, allocations: 0 / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002925/0.359, allocations: 176.7 kB / 1.071 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.359, allocations: 8.031 kB / 1.071 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.359, allocations: 0 / 1.071 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3591, allocations: 0 / 1.071 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.3592, allocations: 12.19 kB / 1.071 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3592, allocations: 0 / 1.071 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3593, allocations: 23.86 kB / 1.071 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3593, allocations: 0 / 1.071 GB, free: 9.129 MB / 0.8262 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.0004111/0.3598, allocations: 314.4 kB / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.3598, allocations: 71.14 kB / 1.071 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.36, allocations: 86.36 kB / 1.071 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.36, allocations: 3.938 kB / 1.071 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.36, allocations: 4 kB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.36, allocations: 7.922 kB / 1.071 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.3604, allocations: 389.4 kB / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3605, allocations: 0 / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.3605, allocations: 4.047 kB / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3605, allocations: 7.984 kB / 1.071 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3605, allocations: 4 kB / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3605, allocations: 0 / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3606, allocations: 4 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.3609, allocations: 204.5 kB / 1.072 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.361, allocations: 144.2 kB / 1.072 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.3611, allocations: 4 kB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3612, allocations: 7.984 kB / 1.072 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.3613, allocations: 11.92 kB / 1.072 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3613, allocations: 7.938 kB / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008664/0.3622, allocations: 0.6864 MB / 1.072 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3622, allocations: 0 / 1.072 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003053/0.3625, allocations: 56 kB / 1.072 GB, free: 7.043 MB / 0.8262 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.001046/0.3635, allocations: 425.4 kB / 1.073 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3638, allocations: 67.95 kB / 1.073 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3638, allocations: 0 / 1.073 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.3639, allocations: 43.98 kB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.3647, allocations: 153.3 kB / 1.073 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3666, allocations: 1.339 MB / 1.074 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.3672, allocations: 0.9943 MB / 1.075 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.3673, allocations: 23.44 kB / 1.075 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3673, allocations: 0 / 1.075 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of Templates: time 0.01125/0.3786, allocations: 7.02 MB / 1.082 GB, free: 13.15 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches