Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_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.005396/0.005396, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001279/0.001279, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.31 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003006/0.2269, allocations: 2.096 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.2297, allocations: 2.554 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.2298, allocations: 7.938 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.2309, allocations: 0.5014 MB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2312, allocations: 107.5 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.2317, allocations: 244.6 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.2321, allocations: 358.5 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2322, allocations: 64.7 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2324, allocations: 127.4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2325, allocations: 131.2 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.2326, allocations: 16 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2327, allocations: 63.94 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2329, allocations: 123.5 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.233, allocations: 222.4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.2336, allocations: 0.6734 MB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2336, allocations: 0 / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2336, allocations: 0 / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.2336, allocations: 4 kB / 1.095 GB, free: 10.69 MB / 0.8575 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.001027/0.2347, allocations: 0.8718 MB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2347, allocations: 12.03 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.2348, allocations: 42.73 kB / 1.096 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.2348, allocations: 60.19 kB / 1.096 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.2353, allocations: 439.6 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2353, allocations: 4 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2353, allocations: 4 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.2355, allocations: 100.2 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2356, allocations: 7.938 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2356, allocations: 4 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2356, allocations: 3.984 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2357, allocations: 39.98 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.2364, allocations: 0.5083 MB / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.2367, allocations: 106.7 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.2368, allocations: 36.84 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2369, allocations: 0 / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.237, allocations: 83.38 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.237, allocations: 3.938 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003793/0.2374, allocations: 204.7 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2375, allocations: 106.8 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.2384, allocations: 0.8834 MB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2384, allocations: 33.7 kB / 1.098 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.2386, allocations: 296.1 kB / 1.098 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.2387, allocations: 19.73 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.2387, allocations: 25.72 kB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.2388, allocations: 310 kB / 1.099 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.2389, allocations: 27.98 kB / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.239, allocations: 76.27 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2392, allocations: 69.64 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2392, allocations: 192 / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002645/0.2394, allocations: 172.8 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2395, allocations: 7.938 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2395, allocations: 4.031 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2395, allocations: 7.938 kB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.2396, allocations: 11.98 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2396, allocations: 4 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2397, allocations: 7.984 kB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2397, allocations: 0 / 1.099 GB, free: 5.855 MB / 0.8575 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.00027/0.24, allocations: 316.4 kB / 1.099 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.2401, allocations: 63.16 kB / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.2402, allocations: 77.98 kB / 1.099 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2402, allocations: 7.938 kB / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2402, allocations: 0 / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2402, allocations: 0 / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.2405, allocations: 385.3 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2405, allocations: 0 / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.2406, allocations: 11.98 kB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2406, allocations: 0 / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2406, allocations: 4 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2406, allocations: 12.27 kB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2406, allocations: 0 / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.2409, allocations: 196.2 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.241, allocations: 140.2 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.2411, allocations: 4 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2412, allocations: 7.938 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2413, allocations: 11.98 kB / 1.1 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2413, allocations: 4 kB / 1.1 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006685/0.2419, allocations: 0.659 MB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.242, allocations: 3.938 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002752/0.2422, allocations: 60 kB / 1.101 GB, free: 3.824 MB / 0.8575 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.001345/0.2436, allocations: 1.035 MB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2438, allocations: 71.91 kB / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2438, allocations: 4.062 kB / 1.102 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.2439, allocations: 39.97 kB / 1.102 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.2445, allocations: 154.6 kB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.2494, allocations: 4.651 MB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.2499, allocations: 0.9782 MB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.2501, allocations: 46.56 kB / 1.108 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.2503, allocations: 175.4 kB / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.2503, allocations: 0 / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.2772, allocations: 12.51 MB / 1.12 GB, free: 408 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.533, allocations: 15.78 kB / 1.12 GB, free: 392 kB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches