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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001216/0.001216, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.872/2.872, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 12.75 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4055, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003219/0.4088, allocations: 1.816 MB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.4123, allocations: 2.393 MB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.4125, allocations: 4 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.414, allocations: 0.5137 MB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.4143, allocations: 107.5 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.415, allocations: 205.5 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.4155, allocations: 322.5 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.4157, allocations: 73.05 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.4159, allocations: 127.4 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.4161, allocations: 143.2 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.4161, allocations: 4 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.4163, allocations: 43.98 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.4164, allocations: 131.5 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.4166, allocations: 129.4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.4171, allocations: 0.5533 MB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4171, allocations: 0 / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4171, allocations: 0 / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4172, allocations: 0 / 1.064 GB, free: 14.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00123/0.4184, allocations: 0.8408 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4184, allocations: 8.031 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4186, allocations: 71.14 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.4191, allocations: 415.5 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4192, allocations: 8 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.4192, allocations: 3.953 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4194, allocations: 104.2 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4194, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.4195, allocations: 4 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4195, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.4196, allocations: 39.97 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.4204, allocations: 0.524 MB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.4208, allocations: 98.64 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.4209, allocations: 28.84 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.421, allocations: 7.938 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.4212, allocations: 95.39 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.4212, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.4216, allocations: 196.7 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.4217, allocations: 106.8 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.4228, allocations: 0.9149 MB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4229, allocations: 29.7 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.4232, allocations: 320 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.4232, allocations: 19.75 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.4232, allocations: 3.938 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4234, allocations: 313.9 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.4235, allocations: 27.98 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.4236, allocations: 72.27 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.866e-05/0.4237, allocations: 31.98 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4237, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00026/0.4239, allocations: 172.7 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.424, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.424, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.424, allocations: 4 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.4241, allocations: 19.98 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4241, allocations: 0 / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.4242, allocations: 8.031 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4243, allocations: 7.984 kB / 1.069 GB, free: 9.977 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003629/0.4246, allocations: 321.6 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.4247, allocations: 67.16 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.4248, allocations: 78.41 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4248, allocations: 4 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4248, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4249, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.4253, allocations: 401.3 kB / 1.07 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4253, allocations: 0 / 1.07 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.4254, allocations: 15.98 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4254, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4254, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4254, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4254, allocations: 4 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.4258, allocations: 200.3 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.426, allocations: 148.1 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.426, allocations: 11.94 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4261, allocations: 8 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4262, allocations: 7.984 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.4262, allocations: 11.98 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008455/0.4271, allocations: 0.6707 MB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4271, allocations: 0 / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003072/0.4274, allocations: 56 kB / 1.071 GB, free: 7.902 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.4285, allocations: 411.5 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4288, allocations: 79.84 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4288, allocations: 0 / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.344e-05/0.4289, allocations: 39.97 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.4296, allocations: 156.3 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.4313, allocations: 1.222 MB / 1.073 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.4321, allocations: 0.9866 MB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.4323, allocations: 51.2 kB / 1.074 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.4323, allocations: 27.42 kB / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of SimCode: time 9.61e-07/0.4323, allocations: 0 / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of Templates: time 0.01176/0.4441, allocations: 5.633 MB / 1.079 GB, free: 15.53 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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