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.002233/0.002233, allocations: 108 kB / 15.61 MB, free: 152 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.002194/0.002194, allocations: 194 kB / 16.53 MB, free: 6.664 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.355/2.355, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 82.02 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2296, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002941/0.2325, allocations: 2.044 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.2355, allocations: 2.596 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.2356, allocations: 0 / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2367, allocations: 0.5136 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2368, allocations: 71.53 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.2375, allocations: 273.5 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.2379, allocations: 339.2 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.238, allocations: 89.06 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2381, allocations: 111.5 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2383, allocations: 119.3 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.2383, allocations: 12 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.2388, allocations: 315.5 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2389, allocations: 111.5 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2391, allocations: 218.5 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.2398, allocations: 0.8099 MB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2398, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2398, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.2398, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 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.0009431/0.2408, allocations: 0.872 MB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.2408, allocations: 8.031 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.2409, allocations: 42.73 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.2409, allocations: 76.09 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2413, allocations: 384.3 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2413, allocations: 8.375 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.2413, allocations: 8.375 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2415, allocations: 129.8 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2416, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2416, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.2416, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2417, allocations: 103.9 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.2424, allocations: 0.5509 MB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.2425, allocations: 102.5 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.2426, allocations: 61.17 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.2427, allocations: 11.92 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.2428, allocations: 133.1 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 3.868e-06/0.2429, allocations: 96 / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004134/0.2433, allocations: 310.4 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.2433, allocations: 85.09 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.2441, allocations: 0.7857 MB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2442, allocations: 29.69 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.2444, allocations: 292.2 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.2444, allocations: 27.62 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2445, allocations: 37.7 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2446, allocations: 306 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.2447, allocations: 47.97 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.2447, allocations: 43.98 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2449, allocations: 164.1 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2449, allocations: 0 / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002867/0.2452, allocations: 274.4 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.2452, allocations: 33.7 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2452, allocations: 0 / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2453, allocations: 11.97 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.2453, allocations: 8 kB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.2453, allocations: 0 / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.2454, allocations: 11.94 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2454, allocations: 4 kB / 1.076 GB, free: 1.344 MB / 0.8262 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.0002915/0.2457, allocations: 339.3 kB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.2458, allocations: 71.09 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.2462, allocations: 289.5 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2462, allocations: 11.94 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2462, allocations: 0 / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2462, allocations: 0 / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.2466, allocations: 385.3 kB / 1.077 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2466, allocations: 0 / 1.077 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.2466, allocations: 8 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2466, allocations: 0 / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2466, allocations: 3.984 kB / 1.077 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2466, allocations: 8.125 kB / 1.077 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2466, allocations: 0 / 1.077 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.247, allocations: 321.8 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2471, allocations: 140.2 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.2472, allocations: 8 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.2473, allocations: 4 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2473, allocations: 7.984 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2473, allocations: 8 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005984/0.2479, allocations: 0.5848 MB / 1.078 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2479, allocations: 3.938 kB / 1.078 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003267/0.2483, allocations: 131.9 kB / 1.079 GB, free: 14.93 MB / 0.8419 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.0007879/0.2491, allocations: 0.927 MB / 1.079 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.2493, allocations: 211.5 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2493, allocations: 0 / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2495, allocations: 151.2 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2499, allocations: 127.9 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.2547, allocations: 4.785 MB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.2553, allocations: 0.9704 MB / 1.086 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.262e-05/0.2554, allocations: 29.94 kB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.2555, allocations: 167.4 kB / 1.086 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2555, allocations: 3.938 kB / 1.086 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.973/8.228, allocations: 11.9 MB / 1.097 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.076/17.3, allocations: 19.41 kB / 1.097 GB, free: 11.7 MB / 0.8575 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