Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.001647/0.001648, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001895/0.001895, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.631/1.631, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002074, allocations: 64.94 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3972, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.005064/0.4023, allocations: 2.224 MB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005039/0.4074, allocations: 2.605 MB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.4075, allocations: 3.938 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.4096, allocations: 0.5294 MB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.41, allocations: 111.5 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009256/0.4109, allocations: 218.9 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006501/0.4116, allocations: 394.3 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.4118, allocations: 81.05 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.412, allocations: 123.3 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.4123, allocations: 163.1 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.4123, allocations: 8 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.4126, allocations: 59.97 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.4128, allocations: 135.5 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.4131, allocations: 230.4 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.414, allocations: 0.7006 MB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4141, allocations: 4 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4141, allocations: 4 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.4141, allocations: 0 / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001624/0.4157, allocations: 0.9067 MB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4158, allocations: 8.625 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/0.4159, allocations: 38.73 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.416, allocations: 68.09 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/0.4167, allocations: 459.9 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.4168, allocations: 4.375 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.4168, allocations: 19.92 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.4171, allocations: 96.11 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4171, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.4172, allocations: 4 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4172, allocations: 4 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4174, allocations: 35.97 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.4185, allocations: 0.524 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.4191, allocations: 98.69 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.4192, allocations: 36.84 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.4192, allocations: 3.984 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.4195, allocations: 91.36 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 4.559e-06/0.4195, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006188/0.4202, allocations: 196.7 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.4203, allocations: 110.8 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4219, allocations: 0.9226 MB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.422, allocations: 29.7 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.4224, allocations: 312 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.4225, allocations: 19.75 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.4225, allocations: 33.7 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4227, allocations: 306 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4228, allocations: 27.98 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.423, allocations: 72.27 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.4233, allocations: 73.64 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4233, allocations: 4 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004377/0.4237, allocations: 164.8 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4238, allocations: 11.98 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4238, allocations: 0 / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4238, allocations: 0 / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.424, allocations: 12 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.424, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.4242, allocations: 19.83 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.4242, allocations: 8.031 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0004611/0.4247, allocations: 315.2 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4248, allocations: 71.14 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.425, allocations: 74.61 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.425, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.425, allocations: 7.875 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4251, allocations: 11.95 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.4256, allocations: 397.4 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4257, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.4257, allocations: 4 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4257, allocations: 4 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4258, allocations: 8 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4258, allocations: 0 / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4258, allocations: 3.938 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.4262, allocations: 192.2 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.4264, allocations: 148.1 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.4265, allocations: 0 / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4267, allocations: 8 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4268, allocations: 15.92 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4269, allocations: 4 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001189/0.4281, allocations: 0.6824 MB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4281, allocations: 0 / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004889/0.4286, allocations: 56 kB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002194/0.4308, allocations: 1.048 MB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.4311, allocations: 87.86 kB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4311, allocations: 0 / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4313, allocations: 31.98 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4324, allocations: 172 kB / 1.068 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.4418, allocations: 5.087 MB / 1.073 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/0.4427, allocations: 0.9863 MB / 1.074 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.443, allocations: 47.27 kB / 1.074 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.4433, allocations: 191.4 kB / 1.074 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/0.4433, allocations: 0 / 1.074 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.482/1.925, allocations: 12.93 MB / 1.086 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003567/1.925, allocations: 264.9 kB / 1.087 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/5.394, allocations: 0 / 1.087 GB, free: 5.336 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches