Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004579/0.004579, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9879/0.9879, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.423/2.423, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.562e-05, allocations: 4.281 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003992/0.004018, allocations: 2.15 MB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.008291, allocations: 2.576 MB / 0.8433 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.008436, allocations: 0 / 0.8433 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.009839, allocations: 481.6 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.01002, allocations: 75.47 kB / 0.8438 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.01089, allocations: 243.2 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.01138, allocations: 341.8 kB / 0.8444 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.01154, allocations: 61.11 kB / 0.8444 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.01182, allocations: 147.6 kB / 0.8446 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.01201, allocations: 107.7 kB / 0.8447 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.01205, allocations: 8 kB / 0.8447 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.01277, allocations: 367.5 kB / 0.845 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.01289, allocations: 107.5 kB / 0.8451 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.01301, allocations: 91.62 kB / 0.8452 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.01381, allocations: 0.6151 MB / 0.8458 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01381, allocations: 0 / 0.8458 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.01381, allocations: 0 / 0.8458 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.01382, allocations: 4 kB / 0.8458 GB, free: 6.773 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000711/0.01453, allocations: 0.7908 MB / 0.8466 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.01456, allocations: 8.031 kB / 0.8466 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.01462, allocations: 44.89 kB / 0.8466 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.01489, allocations: 322.4 kB / 0.8469 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.01491, allocations: 8.375 kB / 0.847 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.01492, allocations: 4.375 kB / 0.847 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.01507, allocations: 122.2 kB / 0.8471 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.01508, allocations: 3.938 kB / 0.8471 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.01509, allocations: 8 kB / 0.8471 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01509, allocations: 4 kB / 0.8471 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.01515, allocations: 58.75 kB / 0.8471 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.01557, allocations: 321.7 kB / 0.8475 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.01566, allocations: 121.8 kB / 0.8476 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.01573, allocations: 46.62 kB / 0.8476 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.01576, allocations: 7.984 kB / 0.8476 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.01589, allocations: 133.5 kB / 0.8477 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.01589, allocations: 0 / 0.8477 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001875/0.01608, allocations: 206.8 kB / 0.8479 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.01611, allocations: 89.28 kB / 0.848 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.01648, allocations: 0.5039 MB / 0.8485 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.01649, allocations: 25.7 kB / 0.8485 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.01658, allocations: 189.8 kB / 0.8487 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.0166, allocations: 19.8 kB / 0.8487 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.01664, allocations: 29.69 kB / 0.8488 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.0167, allocations: 314 kB / 0.8491 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.01674, allocations: 48.52 kB / 0.8491 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.01677, allocations: 37.7 kB / 0.8492 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.01684, allocations: 103 kB / 0.8493 GB, free: 3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01684, allocations: 0 / 0.8493 GB, free: 3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.01697, allocations: 165.4 kB / 0.8494 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.017, allocations: 37.69 kB / 0.8494 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.017, allocations: 0 / 0.8494 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01701, allocations: 0 / 0.8494 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.01707, allocations: 8.062 kB / 0.8495 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01707, allocations: 16.08 kB / 0.8495 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.01714, allocations: 11.94 kB / 0.8495 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01716, allocations: 4 kB / 0.8495 GB, free: 2.738 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001181/0.01727, allocations: 162.3 kB / 0.8496 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.01731, allocations: 39.95 kB / 0.8497 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.01748, allocations: 194.5 kB / 0.8499 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01748, allocations: 4 kB / 0.8499 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01748, allocations: 3.938 kB / 0.8499 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.01749, allocations: 7.922 kB / 0.8499 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.01765, allocations: 173.7 kB / 0.85 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01765, allocations: 0 / 0.85 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.01768, allocations: 11.98 kB / 0.8501 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01768, allocations: 4 kB / 0.8501 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01769, allocations: 3.984 kB / 0.8501 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01769, allocations: 0 / 0.8501 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01769, allocations: 4 kB / 0.8501 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.01797, allocations: 214 kB / 0.8503 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.01803, allocations: 67.5 kB / 0.8503 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.01806, allocations: 0 / 0.8503 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.01811, allocations: 4 kB / 0.8503 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.01815, allocations: 11.98 kB / 0.8504 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.01816, allocations: 4 kB / 0.8504 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001809/0.01834, allocations: 240.6 kB / 0.8506 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01834, allocations: 0 / 0.8506 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002607/0.0186, allocations: 131.8 kB / 0.8507 GB, free: 1.395 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002708/0.01887, allocations: 200.1 kB / 0.8509 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.01902, allocations: 179.5 kB / 0.8511 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.01903, allocations: 8 kB / 0.8511 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.01909, allocations: 121.9 kB / 0.8512 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.01939, allocations: 121.8 kB / 0.8513 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.02048, allocations: 0.8771 MB / 0.8522 GB, free: 15.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.02058, allocations: 167.8 kB / 0.8523 GB, free: 15.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.02065, allocations: 21.89 kB / 0.8524 GB, free: 15.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.02083, allocations: 129.3 kB / 0.8525 GB, free: 15.46 MB / 0.823 GB Notification: Performance of SimCode: time 7.92e-07/0.02083, allocations: 0 / 0.8525 GB, free: 15.46 MB / 0.823 GB Notification: Performance of Templates: time 0.008934/0.02977, allocations: 6.107 MB / 0.8584 GB, free: 9.496 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.417923181317747]