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.004684/0.004684, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001069/0.001069, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.086/2.086, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6946, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002956/0.6976, allocations: 2.104 MB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.7002, allocations: 2.554 MB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.7004, allocations: 6.438 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.7017, allocations: 0.5005 MB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.7019, allocations: 109.8 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.7026, allocations: 232.9 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.703, allocations: 360.2 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.7032, allocations: 59.41 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.7033, allocations: 125.8 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.7035, allocations: 145.6 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.7035, allocations: 8.688 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.7037, allocations: 69.08 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.7039, allocations: 122.6 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.7041, allocations: 224.1 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009208/0.705, allocations: 0.679 MB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.705, allocations: 1.125 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.705, allocations: 0 / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.705, allocations: 0.7031 kB / 1.095 GB, free: 0.8477 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.001107/0.7061, allocations: 0.8682 MB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7062, allocations: 9.312 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.7062, allocations: 38.77 kB / 1.095 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.7063, allocations: 61.91 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.7068, allocations: 441.1 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.7069, allocations: 2.625 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.7069, allocations: 11.67 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.7071, allocations: 99.39 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.7071, allocations: 0.8125 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.7072, allocations: 5.391 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.7072, allocations: 1.531 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.7073, allocations: 37.34 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.7081, allocations: 0.5144 MB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.7085, allocations: 114.2 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.7086, allocations: 32.48 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.7086, allocations: 1.609 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.7088, allocations: 82.38 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.7088, allocations: 0.6875 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004466/0.7093, allocations: 206 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.7093, allocations: 105.8 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.7104, allocations: 0.8831 MB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.7105, allocations: 27.41 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.7107, allocations: 300.5 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.7108, allocations: 17.14 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.7108, allocations: 24.05 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.7109, allocations: 312.9 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.711, allocations: 30.66 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.7111, allocations: 72.94 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.7113, allocations: 71.69 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7113, allocations: 0 / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002777/0.7116, allocations: 172.6 kB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7116, allocations: 9.875 kB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7116, allocations: 1.859 kB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7116, allocations: 3.938 kB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.7117, allocations: 13.78 kB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7117, allocations: 1.766 kB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.7119, allocations: 14.19 kB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7119, allocations: 6.547 kB / 1.099 GB, free: 13.73 MB / 0.8731 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.0003379/0.7122, allocations: 312.1 kB / 1.099 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.7123, allocations: 68.88 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.7124, allocations: 75.59 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7124, allocations: 5.281 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7125, allocations: 4.547 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7125, allocations: 0.6094 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.7129, allocations: 379.4 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7129, allocations: 0.5625 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.713, allocations: 10.88 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.713, allocations: 2.031 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.713, allocations: 1.609 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.713, allocations: 4.547 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.713, allocations: 5.094 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.7133, allocations: 194.3 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.7134, allocations: 132.4 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.7135, allocations: 6.875 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7136, allocations: 9.109 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.7137, allocations: 6.5 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.7137, allocations: 9.297 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008398/0.7146, allocations: 0.6598 MB / 1.101 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7146, allocations: 192 / 1.101 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003262/0.7149, allocations: 54.75 kB / 1.101 GB, free: 12.69 MB / 0.8731 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.001463/0.7164, allocations: 1.046 MB / 1.102 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.7166, allocations: 79.08 kB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7167, allocations: 0.9375 kB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.821e-05/0.7168, allocations: 35.47 kB / 1.102 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.7174, allocations: 152.5 kB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.7233, allocations: 4.654 MB / 1.107 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.7239, allocations: 0.9843 MB / 1.108 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.7241, allocations: 36.8 kB / 1.108 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.7244, allocations: 176 kB / 1.108 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.7244, allocations: 4 kB / 1.108 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3962/1.121, allocations: 12.51 MB / 1.12 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.34, allocations: 13 kB / 1.12 GB, free: 7.293 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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