Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001876/0.001876, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.94 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2387, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003004/0.2417, allocations: 1.979 MB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.2445, allocations: 2.508 MB / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.2446, allocations: 3.938 kB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.2457, allocations: 481.8 kB / 0.956 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.2458, allocations: 63.59 kB / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.2465, allocations: 283.3 kB / 0.9563 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.2468, allocations: 298.5 kB / 0.9566 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.247, allocations: 92.7 kB / 0.9567 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/0.2471, allocations: 99.47 kB / 0.9568 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2472, allocations: 127.3 kB / 0.9569 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2473, allocations: 8 kB / 0.9569 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.2477, allocations: 327.5 kB / 0.9572 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2478, allocations: 99.55 kB / 0.9573 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.248, allocations: 198.6 kB / 0.9575 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.2487, allocations: 0.7827 MB / 0.9583 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2487, allocations: 0 / 0.9583 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2487, allocations: 8 kB / 0.9583 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2487, allocations: 0 / 0.9583 GB, free: 0.707 MB / 0.7325 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.0009672/0.2497, allocations: 0.8371 MB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2497, allocations: 8.031 kB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.2498, allocations: 64.19 kB / 0.9592 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.2502, allocations: 360.5 kB / 0.9595 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2502, allocations: 8.375 kB / 0.9595 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2503, allocations: 12.12 kB / 0.9595 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.2505, allocations: 129.6 kB / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2505, allocations: 0 / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2505, allocations: 0 / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2505, allocations: 4 kB / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2507, allocations: 103.8 kB / 0.9598 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.2514, allocations: 0.5315 MB / 0.9603 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2515, allocations: 114.6 kB / 0.9604 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.2516, allocations: 64.97 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.2517, allocations: 4 kB / 0.9605 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.2519, allocations: 137 kB / 0.9606 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2519, allocations: 0 / 0.9606 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0004337/0.2523, allocations: 306.4 kB / 0.9609 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2524, allocations: 85.14 kB / 0.961 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.2532, allocations: 0.7698 MB / 0.9617 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.2532, allocations: 25.7 kB / 0.9617 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.2534, allocations: 272.3 kB / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2535, allocations: 31.55 kB / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.2535, allocations: 29.72 kB / 0.9621 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2537, allocations: 313.9 kB / 0.9624 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.2537, allocations: 43.98 kB / 0.9624 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.2538, allocations: 47.97 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.254, allocations: 160.2 kB / 0.9626 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.254, allocations: 7.938 kB / 0.9626 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003257/0.2543, allocations: 258.5 kB / 0.9628 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.2544, allocations: 39.41 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2544, allocations: 0 / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2544, allocations: 0 / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.2545, allocations: 11.98 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2545, allocations: 0 / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2547, allocations: 11.94 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2547, allocations: 8 kB / 0.9629 GB, free: 11.68 MB / 0.7481 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.0002824/0.255, allocations: 342.5 kB / 0.9632 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.255, allocations: 59.25 kB / 0.9633 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.2554, allocations: 296.5 kB / 0.9636 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2555, allocations: 4 kB / 0.9636 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2555, allocations: 0 / 0.9636 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2555, allocations: 0 / 0.9636 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.2558, allocations: 373.4 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2558, allocations: 0 / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.2558, allocations: 4 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2558, allocations: 4 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2559, allocations: 8 kB / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2559, allocations: 4 kB / 0.964 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2559, allocations: 0 / 0.964 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.2562, allocations: 314.3 kB / 0.9643 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2564, allocations: 140.3 kB / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.2565, allocations: 192 / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2566, allocations: 11.94 kB / 0.9644 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2566, allocations: 15.98 kB / 0.9644 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2566, allocations: 4 kB / 0.9644 GB, free: 10 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006142/0.2572, allocations: 0.5653 MB / 0.965 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2573, allocations: 0 / 0.965 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003667/0.2576, allocations: 123.9 kB / 0.9651 GB, free: 9.32 MB / 0.7481 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.0003962/0.258, allocations: 185 kB / 0.9653 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.2583, allocations: 199.3 kB / 0.9655 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2583, allocations: 3.938 kB / 0.9655 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.2585, allocations: 159.3 kB / 0.9656 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.2589, allocations: 102.9 kB / 0.9657 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2602, allocations: 1.022 MB / 0.9667 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.2607, allocations: 0.9698 MB / 0.9677 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.788e-05/0.2608, allocations: 21.55 kB / 0.9677 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.2608, allocations: 15.44 kB / 0.9677 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of SimCode: time 1.633e-06/0.2608, allocations: 0 / 0.9677 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.009876/0.2707, allocations: 5.172 MB / 0.9727 GB, free: 1.496 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches