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.001394/0.001394, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001451/0.001451, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.26/2.26, allocations: 390.3 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5978/0.5992, allocations: 140.4 MB / 0.9493 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003072/0.6023, allocations: 2.137 MB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.6048, allocations: 2.514 MB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.605, allocations: 1.5 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.6062, allocations: 0.4974 MB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.6065, allocations: 101.8 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.6071, allocations: 218.8 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.6076, allocations: 381.4 kB / 0.9549 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.6077, allocations: 77.2 kB / 0.955 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.6079, allocations: 118 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.6081, allocations: 149.9 kB / 0.9553 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.6082, allocations: 12.61 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.6084, allocations: 61.12 kB / 0.9553 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.6085, allocations: 131.4 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.6087, allocations: 217.6 kB / 0.9557 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.6092, allocations: 0.6746 MB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6092, allocations: 0 / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6093, allocations: 0 / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.6093, allocations: 0 / 0.9563 GB, free: 3.875 MB / 0.7169 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.001129/0.6104, allocations: 0.869 MB / 0.9572 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6105, allocations: 10.16 kB / 0.9572 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.6105, allocations: 32 kB / 0.9572 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.6106, allocations: 70.88 kB / 0.9573 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.611, allocations: 439 kB / 0.9577 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.6111, allocations: 6.719 kB / 0.9577 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.6111, allocations: 3.188 kB / 0.9577 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.6113, allocations: 105.5 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6113, allocations: 0.6875 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6113, allocations: 0.9375 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6113, allocations: 0.7188 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.6114, allocations: 43.19 kB / 0.9579 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.6121, allocations: 0.5143 MB / 0.9584 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.6125, allocations: 102.6 kB / 0.9585 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.6126, allocations: 37.34 kB / 0.9585 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.6126, allocations: 5.375 kB / 0.9585 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.6128, allocations: 85.36 kB / 0.9586 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6128, allocations: 0 / 0.9586 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003984/0.6132, allocations: 196.4 kB / 0.9588 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.6132, allocations: 107.8 kB / 0.9589 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009795/0.6142, allocations: 0.8846 MB / 0.9597 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.6142, allocations: 26.48 kB / 0.9598 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.6144, allocations: 304.7 kB / 0.9601 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.6145, allocations: 15.5 kB / 0.9601 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.6145, allocations: 29.58 kB / 0.9601 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.6146, allocations: 307.1 kB / 0.9604 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.6146, allocations: 27.55 kB / 0.9604 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.6147, allocations: 76.64 kB / 0.9605 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.6149, allocations: 81.73 kB / 0.9606 GB, free: 460 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6149, allocations: 1.062 kB / 0.9606 GB, free: 460 kB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002629/0.6152, allocations: 167.3 kB / 0.9607 GB, free: 356 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6152, allocations: 5.25 kB / 0.9607 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6152, allocations: 0 / 0.9607 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6152, allocations: 1.062 kB / 0.9607 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.6153, allocations: 19.33 kB / 0.9608 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6153, allocations: 5.156 kB / 0.9608 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.6154, allocations: 12.06 kB / 0.9608 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6155, allocations: 2.969 kB / 0.9608 GB, free: 336 kB / 0.7169 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.0002565/0.6157, allocations: 318.8 kB / 0.9611 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.6158, allocations: 68.92 kB / 0.9611 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.6159, allocations: 72.34 kB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6159, allocations: 5.344 kB / 0.9612 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6159, allocations: 192 / 0.9612 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6159, allocations: 1.031 kB / 0.9612 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.6164, allocations: 389.4 kB / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6164, allocations: 0 / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.6164, allocations: 6.469 kB / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6164, allocations: 1.219 kB / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6164, allocations: 4.891 kB / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6165, allocations: 3.938 kB / 0.9616 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6165, allocations: 1.031 kB / 0.9616 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.6168, allocations: 193.8 kB / 0.9618 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6169, allocations: 136.2 kB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.617, allocations: 9.219 kB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6171, allocations: 11.58 kB / 0.9619 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.6172, allocations: 11.61 kB / 0.962 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.6172, allocations: 2.438 kB / 0.962 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007717/0.618, allocations: 0.6556 MB / 0.9626 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.618, allocations: 0 / 0.9626 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000316/0.6183, allocations: 57.33 kB / 0.9627 GB, free: 15.03 MB / 0.7325 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.001528/0.6198, allocations: 1.054 MB / 0.9637 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.6201, allocations: 74.47 kB / 0.9638 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6201, allocations: 0 / 0.9638 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.6202, allocations: 42.02 kB / 0.9638 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/0.621, allocations: 156.4 kB / 0.9639 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.6276, allocations: 4.892 MB / 0.9687 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.6282, allocations: 0.9771 MB / 0.9697 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.6284, allocations: 35.38 kB / 0.9697 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.6286, allocations: 177.3 kB / 0.9699 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.6286, allocations: 5.156 kB / 0.9699 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/0.8604, allocations: 12.21 MB / 0.9818 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.8607, allocations: 268.8 kB / 0.9821 GB, free: 248 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.856, allocations: 3.5 kB / 0.9821 GB, free: 248 kB / 0.7325 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