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.0009344/0.0009344, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001063/0.001063, allocations: 177 kB / 23.36 MB, free: 1.129 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.9606/0.9606, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.396/2.396, 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.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.606e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002734/0.00276, allocations: 2.11 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.005637, allocations: 2.569 MB / 0.8432 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.005751, allocations: 4 kB / 0.8432 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.006788, allocations: 481.5 kB / 0.8437 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.006937, allocations: 75.47 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.007767, allocations: 279.2 kB / 0.844 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.008151, allocations: 334.2 kB / 0.8443 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.008283, allocations: 53.17 kB / 0.8444 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.008474, allocations: 155.6 kB / 0.8445 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.008597, allocations: 99.69 kB / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.008618, allocations: 8 kB / 0.8446 GB, free: 8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.009079, allocations: 335.4 kB / 0.8449 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.009191, allocations: 115.5 kB / 0.845 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.009298, allocations: 95.61 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.00994, allocations: 0.6074 MB / 0.8457 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.009944, allocations: 0 / 0.8457 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.009945, allocations: 0 / 0.8457 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.009952, allocations: 4 kB / 0.8457 GB, free: 6.852 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.0007814/0.01073, allocations: 0.783 MB / 0.8465 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01077, allocations: 8.031 kB / 0.8465 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.01084, allocations: 40.89 kB / 0.8465 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.01115, allocations: 326.3 kB / 0.8469 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.01117, allocations: 12.38 kB / 0.8469 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.01119, allocations: 12.38 kB / 0.8469 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.01134, allocations: 116 kB / 0.847 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.01135, allocations: 3.938 kB / 0.847 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.01136, allocations: 4 kB / 0.847 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01136, allocations: 0 / 0.847 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.01142, allocations: 61.62 kB / 0.8471 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.01184, allocations: 329.6 kB / 0.8474 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.01194, allocations: 121.8 kB / 0.8475 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.01197, allocations: 42.56 kB / 0.8475 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.01201, allocations: 20.05 kB / 0.8475 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.01212, allocations: 125.6 kB / 0.8477 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.01212, allocations: 0 / 0.8477 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.000198/0.01232, allocations: 206.7 kB / 0.8479 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.01236, allocations: 89.28 kB / 0.8479 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.01272, allocations: 0.5 MB / 0.8484 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01274, allocations: 29.7 kB / 0.8485 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01287, allocations: 181.8 kB / 0.8486 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.01291, allocations: 27.78 kB / 0.8487 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.01295, allocations: 29.69 kB / 0.8487 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.01303, allocations: 314 kB / 0.849 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.01307, allocations: 44.52 kB / 0.849 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.0131, allocations: 37.7 kB / 0.8491 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.01317, allocations: 107.4 kB / 0.8492 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01317, allocations: 0 / 0.8492 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001302/0.0133, allocations: 168.9 kB / 0.8493 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.01333, allocations: 41.69 kB / 0.8494 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.01334, allocations: 0 / 0.8494 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01335, allocations: 0 / 0.8494 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.01341, allocations: 4 kB / 0.8494 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01341, allocations: 8.094 kB / 0.8494 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.01348, allocations: 20 kB / 0.8494 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.0135, allocations: 0 / 0.8494 GB, free: 2.812 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.0001162/0.01361, allocations: 158.3 kB / 0.8496 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.01365, allocations: 35.95 kB / 0.8496 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.01383, allocations: 194.6 kB / 0.8498 GB, free: 2.395 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01383, allocations: 4 kB / 0.8498 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01383, allocations: 0 / 0.8498 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01384, allocations: 3.938 kB / 0.8498 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.014, allocations: 177.7 kB / 0.8499 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.014, allocations: 0 / 0.8499 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.01403, allocations: 11.98 kB / 0.85 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01404, allocations: 4 kB / 0.85 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.01404, allocations: 0 / 0.85 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01405, allocations: 7.922 kB / 0.85 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01405, allocations: 0 / 0.85 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.0142, allocations: 218 kB / 0.8502 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.01427, allocations: 63.5 kB / 0.8502 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.0143, allocations: 4 kB / 0.8502 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.01436, allocations: 4 kB / 0.8502 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.01439, allocations: 7.984 kB / 0.8503 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.0144, allocations: 4 kB / 0.8503 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001833/0.01458, allocations: 248.6 kB / 0.8505 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.6e-07/0.01458, allocations: 0 / 0.8505 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002983/0.01488, allocations: 131.8 kB / 0.8506 GB, free: 1.473 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.0002921/0.01517, allocations: 192.1 kB / 0.8508 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01532, allocations: 175.6 kB / 0.851 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.01532, allocations: 8 kB / 0.851 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.01538, allocations: 125.9 kB / 0.8511 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.01566, allocations: 127.4 kB / 0.8512 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.01677, allocations: 0.8729 MB / 0.8521 GB, free: 15.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.01687, allocations: 167.8 kB / 0.8522 GB, free: 15.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.599e-05/0.01695, allocations: 29.88 kB / 0.8523 GB, free: 15.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.01712, allocations: 129.3 kB / 0.8524 GB, free: 15.55 MB / 0.823 GB Notification: Performance of SimCode: time 7.61e-07/0.01712, allocations: 0 / 0.8524 GB, free: 15.55 MB / 0.823 GB Notification: Performance of Templates: time 0.008553/0.02568, allocations: 6.103 MB / 0.8583 GB, free: 9.582 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 -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.455204925965518]