Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 112.5 kB / 15.73 MB, free: 76 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.001369/0.001369, allocations: 189.9 kB / 16.67 MB, free: 6.582 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 72.08 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002813/0.2485, allocations: 2.054 MB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00288/0.2514, allocations: 2.592 MB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.2514, allocations: 3.938 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2525, allocations: 0.5133 MB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.2526, allocations: 67.59 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.2532, allocations: 279.1 kB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.2536, allocations: 334.3 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2537, allocations: 93.02 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2538, allocations: 111.4 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.254, allocations: 127.3 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.2541, allocations: 8 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.2545, allocations: 323.5 kB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2546, allocations: 111.5 kB / 1.227 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2548, allocations: 214.5 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.2556, allocations: 0.8249 MB / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2556, allocations: 0 / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2556, allocations: 0 / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2556, allocations: 0 / 1.228 GB, free: 6.633 MB / 0.9825 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.0009072/0.2565, allocations: 0.8911 MB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.2565, allocations: 8.031 kB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.2566, allocations: 42.73 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.2567, allocations: 76.47 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.2571, allocations: 392.9 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2571, allocations: 12.38 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2571, allocations: 12.31 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2573, allocations: 130.9 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2573, allocations: 0 / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2573, allocations: 0 / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2574, allocations: 4 kB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2575, allocations: 103.9 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.2581, allocations: 0.5433 MB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2583, allocations: 106.5 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.2584, allocations: 61.14 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.2584, allocations: 11.92 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.2586, allocations: 137 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2586, allocations: 0 / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004161/0.259, allocations: 306.9 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2591, allocations: 81.11 kB / 1.23 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.26, allocations: 0.7934 MB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.26, allocations: 25.7 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.2602, allocations: 292.3 kB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2603, allocations: 31.72 kB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.2603, allocations: 29.72 kB / 1.232 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2604, allocations: 314 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.2605, allocations: 47.97 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.2606, allocations: 47.92 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.2607, allocations: 156.2 kB / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.2608, allocations: 0 / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003044/0.2611, allocations: 282.7 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.2611, allocations: 29.7 kB / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2611, allocations: 4 kB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2611, allocations: 0 / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.2612, allocations: 11.98 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2612, allocations: 4 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.2613, allocations: 11.95 kB / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2613, allocations: 4 kB / 1.232 GB, free: 1.395 MB / 0.9825 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.0003005/0.2616, allocations: 335.4 kB / 1.233 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.2617, allocations: 71.52 kB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.2621, allocations: 301.3 kB / 1.233 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2621, allocations: 4 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2621, allocations: 7.938 kB / 1.233 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2621, allocations: 0 / 1.233 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.2625, allocations: 393.3 kB / 1.234 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2625, allocations: 0 / 1.234 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.2625, allocations: 4 kB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2625, allocations: 4 kB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2625, allocations: 3.984 kB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2625, allocations: 4 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2626, allocations: 128 / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.2629, allocations: 326.2 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.2631, allocations: 140.7 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.2631, allocations: 8 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.2632, allocations: 4 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.2633, allocations: 7.984 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2633, allocations: 8 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006153/0.2639, allocations: 0.5848 MB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2639, allocations: 0 / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003146/0.2642, allocations: 127.8 kB / 1.235 GB, free: 14.97 MB / 0.9981 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.0008334/0.2651, allocations: 0.9342 MB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.2653, allocations: 207.3 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2653, allocations: 0 / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2655, allocations: 147.3 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.2659, allocations: 126.6 kB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.2708, allocations: 4.677 MB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.2714, allocations: 0.9743 MB / 1.242 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.239e-05/0.2714, allocations: 29.88 kB / 1.242 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.2716, allocations: 163.4 kB / 1.242 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2716, allocations: 4 kB / 1.242 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.223/2.495, allocations: 12.06 MB / 1.254 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.69, allocations: 7.797 kB / 1.254 GB, free: 28.01 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches