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.001089/0.001089, allocations: 92.16 kB / 16.02 MB, free: 80 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.001434/0.001434, allocations: 181.6 kB / 16.92 MB, free: 6.922 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.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.4/2.4, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7074, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.0022/0.7097, allocations: 1.695 MB / 0.9574 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.7128, allocations: 2.48 MB / 0.9598 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.713, allocations: 5.719 kB / 0.9598 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.7142, allocations: 475.2 kB / 0.9603 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.7143, allocations: 53.61 kB / 0.9603 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.7149, allocations: 207.2 kB / 0.9605 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.7153, allocations: 299.1 kB / 0.9608 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.7155, allocations: 87.7 kB / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.7156, allocations: 89.55 kB / 0.961 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.7158, allocations: 131.1 kB / 0.9611 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.7159, allocations: 3.031 kB / 0.9611 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.7163, allocations: 307.6 kB / 0.9614 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.7165, allocations: 92.86 kB / 0.9615 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.7167, allocations: 221.4 kB / 0.9617 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006426/0.7173, allocations: 0.5881 MB / 0.9623 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7173, allocations: 0.7188 kB / 0.9623 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7173, allocations: 0 / 0.9623 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.7174, allocations: 1 kB / 0.9623 GB, free: 2.867 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.0009425/0.7183, allocations: 0.7737 MB / 0.963 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.7184, allocations: 9.156 kB / 0.963 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.721e-05/0.7185, allocations: 61.41 kB / 0.9631 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.7188, allocations: 360.2 kB / 0.9634 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7188, allocations: 8 kB / 0.9634 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.7188, allocations: 10.28 kB / 0.9634 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.7191, allocations: 127.8 kB / 0.9636 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7191, allocations: 1.281 kB / 0.9636 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.7191, allocations: 5.156 kB / 0.9636 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7191, allocations: 2.531 kB / 0.9636 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.7193, allocations: 103.3 kB / 0.9637 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.72, allocations: 0.5372 MB / 0.9642 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.7202, allocations: 116.3 kB / 0.9643 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.7203, allocations: 63.84 kB / 0.9644 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.7203, allocations: 4.312 kB / 0.9644 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.7205, allocations: 145.6 kB / 0.9645 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.7206, allocations: 0 / 0.9645 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004735/0.721, allocations: 301.8 kB / 0.9648 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.7211, allocations: 79.8 kB / 0.9649 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.7219, allocations: 0.7643 MB / 0.9656 GB, free: 320 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.722, allocations: 30.98 kB / 0.9657 GB, free: 284 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.7222, allocations: 276.3 kB / 0.9659 GB, free: 40 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.7222, allocations: 19.69 kB / 0.9659 GB, free: 24 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.7222, allocations: 22.45 kB / 0.966 GB, free: 0 / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7224, allocations: 307 kB / 0.9663 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.7225, allocations: 51.91 kB / 0.9663 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.7226, allocations: 49.36 kB / 0.9663 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.7228, allocations: 159.5 kB / 0.9665 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7228, allocations: 7.938 kB / 0.9665 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003871/0.7232, allocations: 264 kB / 0.9668 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.7233, allocations: 36.66 kB / 0.9668 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7233, allocations: 0 / 0.9668 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7233, allocations: 1.094 kB / 0.9668 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.7234, allocations: 6.844 kB / 0.9668 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7234, allocations: 0.9688 kB / 0.9668 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.7236, allocations: 21.98 kB / 0.9668 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.7236, allocations: 4.562 kB / 0.9668 GB, free: 15.33 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.0003867/0.724, allocations: 342.5 kB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.7241, allocations: 59.94 kB / 0.9672 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.7246, allocations: 294.1 kB / 0.9675 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.7246, allocations: 0.8125 kB / 0.9675 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7246, allocations: 0.7812 kB / 0.9675 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7246, allocations: 0 / 0.9675 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.7251, allocations: 369.9 kB / 0.9678 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7251, allocations: 0 / 0.9678 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.7251, allocations: 14.02 kB / 0.9679 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7251, allocations: 4.938 kB / 0.9679 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7251, allocations: 2.188 kB / 0.9679 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7252, allocations: 4.688 kB / 0.9679 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7252, allocations: 0.8438 kB / 0.9679 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.7256, allocations: 309.5 kB / 0.9682 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.7258, allocations: 140.7 kB / 0.9683 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.7258, allocations: 10.72 kB / 0.9683 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7259, allocations: 13.98 kB / 0.9683 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.726, allocations: 2.938 kB / 0.9683 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.726, allocations: 8.234 kB / 0.9683 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00077/0.7268, allocations: 0.5604 MB / 0.9689 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7268, allocations: 0 / 0.9689 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006482/0.7275, allocations: 122 kB / 0.969 GB, free: 13.86 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.0004485/0.7279, allocations: 193.4 kB / 0.9692 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.7283, allocations: 211.5 kB / 0.9694 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7283, allocations: 5.281 kB / 0.9694 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.7284, allocations: 140.3 kB / 0.9695 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.729, allocations: 110.8 kB / 0.9696 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.7307, allocations: 1.205 MB / 0.9708 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.7313, allocations: 0.9621 MB / 0.9717 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.7314, allocations: 15.22 kB / 0.9718 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7314, allocations: 0 / 0.9718 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.01105/0.7424, allocations: 6.21 MB / 0.9778 GB, free: 8.297 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/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