Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_10_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.004692/0.004692, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001362/0.001362, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 2.35/2.35, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 68.08 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2368, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003091/0.24, allocations: 2.162 MB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.2429, allocations: 2.643 MB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.243, allocations: 4 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.2441, allocations: 0.5408 MB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.2444, allocations: 127.4 kB / 1.172 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.2449, allocations: 235.7 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.2453, allocations: 370.3 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2454, allocations: 73.05 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2456, allocations: 131.3 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2458, allocations: 139.2 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2458, allocations: 12 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.246, allocations: 71.94 kB / 1.173 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.2461, allocations: 131.5 kB / 1.173 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2463, allocations: 234.3 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.247, allocations: 0.7118 MB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.247, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.247, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.247, allocations: 7.938 kB / 1.174 GB, free: 15.68 MB / 0.9356 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.001054/0.2481, allocations: 0.9338 MB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2481, allocations: 12.03 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.2482, allocations: 34.75 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.2482, allocations: 72.47 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.2487, allocations: 468.7 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2487, allocations: 4.375 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2488, allocations: 7.938 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.249, allocations: 96.17 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.249, allocations: 4 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.249, allocations: 7.984 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.249, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2491, allocations: 39.98 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.2498, allocations: 0.5161 MB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.2501, allocations: 106.6 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.2502, allocations: 32.84 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2502, allocations: 0 / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2504, allocations: 87.41 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2504, allocations: 0 / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003674/0.2508, allocations: 201.2 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.2508, allocations: 110.8 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.2518, allocations: 0.9226 MB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2518, allocations: 29.7 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.2521, allocations: 312.1 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2521, allocations: 15.84 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2522, allocations: 37.58 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2523, allocations: 310 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.2524, allocations: 23.98 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2525, allocations: 80.27 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2526, allocations: 73.88 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2527, allocations: 0 / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002453/0.2529, allocations: 173.1 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2529, allocations: 6.5 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2529, allocations: 4.031 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.253, allocations: 8 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.253, allocations: 11.98 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.253, allocations: 8.328 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2531, allocations: 11.89 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2532, allocations: 48 / 1.178 GB, free: 10.68 MB / 0.9356 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.0003002/0.2535, allocations: 328.3 kB / 1.179 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.2535, allocations: 71.53 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2536, allocations: 78.41 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2537, allocations: 4 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2537, allocations: 4 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2537, allocations: 3.938 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.254, allocations: 397.4 kB / 1.179 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.254, allocations: 0 / 1.179 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.2541, allocations: 8 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2541, allocations: 0 / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2541, allocations: 3.984 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2541, allocations: 0 / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2541, allocations: 0 / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.2544, allocations: 208.5 kB / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2545, allocations: 140.6 kB / 1.179 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.2546, allocations: 4 kB / 1.179 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2547, allocations: 7.984 kB / 1.179 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.2547, allocations: 11.92 kB / 1.179 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2548, allocations: 4 kB / 1.179 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007329/0.2555, allocations: 0.6824 MB / 1.18 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2555, allocations: 0 / 1.18 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002599/0.2558, allocations: 63.94 kB / 1.18 GB, free: 8.59 MB / 0.9356 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.001791/0.2576, allocations: 1.061 MB / 1.181 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.2578, allocations: 67.95 kB / 1.181 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2578, allocations: 4.062 kB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.2579, allocations: 39.92 kB / 1.181 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.2585, allocations: 176.1 kB / 1.181 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.2636, allocations: 4.817 MB / 1.186 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.2642, allocations: 0.9902 MB / 1.187 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000117/0.2643, allocations: 47.25 kB / 1.187 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2646, allocations: 191.4 kB / 1.187 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2646, allocations: 3.938 kB / 1.187 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.035/2.299, allocations: 13.25 MB / 1.2 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/24.88, allocations: 5.094 kB / 1.2 GB, free: 4.258 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches