Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 108 kB / 15.6 MB, free: 132 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.001484/0.001485, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.178/3.178, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 75.86 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7163, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003867/0.7202, allocations: 2.051 MB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003889/0.7241, allocations: 2.601 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.7243, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.7258, allocations: 0.5035 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.726, allocations: 79.53 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.727, allocations: 270.9 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.7275, allocations: 330.3 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.7277, allocations: 93.06 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.7278, allocations: 103.5 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.728, allocations: 127.2 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.7281, allocations: 8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.7286, allocations: 323.5 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7288, allocations: 103.5 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.729, allocations: 218.5 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009199/0.7299, allocations: 0.802 MB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7299, allocations: 8 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7299, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.73, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 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.001347/0.7313, allocations: 0.8682 MB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7314, allocations: 8.031 kB / 1.026 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.7315, allocations: 68.19 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.732, allocations: 388.2 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.732, allocations: 4.375 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.732, allocations: 8.375 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.7323, allocations: 137.9 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7323, allocations: 0 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.7324, allocations: 4 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.7324, allocations: 4 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.7326, allocations: 99.88 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.7334, allocations: 0.547 MB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.7336, allocations: 102.5 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.7337, allocations: 60.97 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.7338, allocations: 8.188 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.7341, allocations: 141 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 5.189e-06/0.7342, allocations: 96 / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005073/0.7347, allocations: 310.3 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.7347, allocations: 85.11 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/0.7357, allocations: 0.7896 MB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.7358, allocations: 29.64 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.736, allocations: 288.3 kB / 1.029 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.7361, allocations: 31.55 kB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.7362, allocations: 29.7 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7363, allocations: 314 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.7364, allocations: 47.97 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.7365, allocations: 47.97 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.7367, allocations: 156.2 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.7367, allocations: 4 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000361/0.7371, allocations: 262.9 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.7371, allocations: 41.69 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.7372, allocations: 0 / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7372, allocations: 4 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.7373, allocations: 8 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7373, allocations: 0 / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.7374, allocations: 15.89 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.7374, allocations: 4 kB / 1.029 GB, free: 5.734 MB / 0.7794 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.0003673/0.7378, allocations: 347.3 kB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.7379, allocations: 63.19 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.7384, allocations: 296.9 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7384, allocations: 4 kB / 1.03 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.7384, allocations: 0 / 1.03 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7384, allocations: 4 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.7389, allocations: 377.4 kB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7389, allocations: 7.875 kB / 1.031 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.7389, allocations: 7.984 kB / 1.031 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7389, allocations: 0 / 1.031 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.739, allocations: 8 kB / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.739, allocations: 0 / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.739, allocations: 0 / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.7394, allocations: 321.8 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.7396, allocations: 140.3 kB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.7396, allocations: 4 kB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7397, allocations: 7.984 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.7398, allocations: 8 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.7398, allocations: 7.984 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000745/0.7406, allocations: 0.5848 MB / 1.032 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7406, allocations: 7.938 kB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004621/0.7411, allocations: 127.9 kB / 1.032 GB, free: 3.32 MB / 0.7794 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.0004291/0.7415, allocations: 187.1 kB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.7419, allocations: 211.3 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7419, allocations: 0 / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.742, allocations: 147.4 kB / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.7426, allocations: 136 kB / 1.032 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.7443, allocations: 1.081 MB / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.745, allocations: 0.9743 MB / 1.034 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.7451, allocations: 33.94 kB / 1.034 GB, free: 492 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.7451, allocations: 15.44 kB / 1.034 GB, free: 480 kB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7451, allocations: 0 / 1.034 GB, free: 480 kB / 0.7794 GB Notification: Performance of Templates: time 0.0124/0.7575, allocations: 5.545 MB / 1.04 GB, free: 11.03 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches