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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001047/0.001047, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008236/0.008236, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8.281 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6286, allocations: 142.4 MB / 0.9551 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002001/0.6306, allocations: 1.692 MB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.6334, allocations: 2.478 MB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.6336, allocations: 1.469 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.6347, allocations: 480 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.6349, allocations: 66.97 kB / 0.9597 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.6356, allocations: 199.2 kB / 0.9598 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.6359, allocations: 302.9 kB / 0.9601 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.6361, allocations: 95.5 kB / 0.9602 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.6362, allocations: 86.3 kB / 0.9603 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.6364, allocations: 129.7 kB / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.6364, allocations: 3.688 kB / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.6369, allocations: 302.3 kB / 0.9607 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.6371, allocations: 93.86 kB / 0.9608 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.6372, allocations: 225.4 kB / 0.961 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.638, allocations: 0.7566 MB / 0.9618 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.638, allocations: 0 / 0.9618 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.638, allocations: 0 / 0.9618 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.638, allocations: 1 kB / 0.9618 GB, free: 2.809 MB / 0.7169 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.0009803/0.639, allocations: 0.7657 MB / 0.9625 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.6391, allocations: 9.125 kB / 0.9625 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.6392, allocations: 60.66 kB / 0.9626 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.6395, allocations: 365.2 kB / 0.9629 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.6395, allocations: 8.562 kB / 0.9629 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.6395, allocations: 9.656 kB / 0.9629 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.6398, allocations: 126.9 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6398, allocations: 1.562 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.6398, allocations: 1.25 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.6398, allocations: 0.9688 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.64, allocations: 100.6 kB / 0.9632 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.6407, allocations: 0.5447 MB / 0.9637 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.6409, allocations: 110.2 kB / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.641, allocations: 61.44 kB / 0.9639 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.641, allocations: 5.281 kB / 0.9639 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.6412, allocations: 133.2 kB / 0.964 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.6412, allocations: 0 / 0.964 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004315/0.6417, allocations: 309 kB / 0.9643 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6417, allocations: 80.55 kB / 0.9644 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/0.6426, allocations: 0.7605 MB / 0.9651 GB, free: 280 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.6426, allocations: 30.95 kB / 0.9651 GB, free: 244 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.6428, allocations: 275.5 kB / 0.9654 GB, free: 0 / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.6429, allocations: 24.3 kB / 0.9654 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.6429, allocations: 26.17 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.643, allocations: 315.5 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.6431, allocations: 44.06 kB / 0.9658 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.6432, allocations: 49.38 kB / 0.9658 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.6434, allocations: 159.5 kB / 0.966 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6434, allocations: 3.938 kB / 0.966 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003653/0.6438, allocations: 263.2 kB / 0.9662 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.6438, allocations: 40.69 kB / 0.9663 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6438, allocations: 0.9375 kB / 0.9663 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6439, allocations: 1.031 kB / 0.9663 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.6439, allocations: 10.66 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.644, allocations: 1.031 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6441, allocations: 17.8 kB / 0.9663 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.6441, allocations: 3.781 kB / 0.9663 GB, free: 15.28 MB / 0.7325 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.0003266/0.6445, allocations: 333.9 kB / 0.9666 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.6445, allocations: 61.09 kB / 0.9667 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.645, allocations: 301.1 kB / 0.967 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.645, allocations: 1.812 kB / 0.967 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.645, allocations: 4 kB / 0.967 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.645, allocations: 0 / 0.967 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.6455, allocations: 374 kB / 0.9673 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6455, allocations: 0 / 0.9673 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.6455, allocations: 9.641 kB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6455, allocations: 0.8125 kB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.6455, allocations: 3 kB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.6456, allocations: 1.031 kB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6456, allocations: 0 / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.646, allocations: 317.1 kB / 0.9677 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.6462, allocations: 141 kB / 0.9678 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.6462, allocations: 11.06 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6464, allocations: 9.984 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.6464, allocations: 3 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.6464, allocations: 12.12 kB / 0.9678 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007844/0.6472, allocations: 0.5607 MB / 0.9684 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6472, allocations: 0 / 0.9684 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004839/0.6477, allocations: 125.4 kB / 0.9685 GB, free: 13.8 MB / 0.7325 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.0004671/0.6482, allocations: 189.5 kB / 0.9687 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.6485, allocations: 212.6 kB / 0.9689 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6485, allocations: 0 / 0.9689 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.6487, allocations: 141.6 kB / 0.969 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.6492, allocations: 104.4 kB / 0.9691 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.6509, allocations: 1.16 MB / 0.9702 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.6514, allocations: 0.9585 MB / 0.9712 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.787e-05/0.6515, allocations: 19.27 kB / 0.9712 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.6516, allocations: 14.59 kB / 0.9712 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.6516, allocations: 0 / 0.9712 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.0108/0.6624, allocations: 4.956 MB / 0.9761 GB, free: 9.387 MB / 0.7325 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 -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/jenkins/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