Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 119.3 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.887/2.887, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8726, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002807/0.8754, allocations: 1.643 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.8768, allocations: 0.9906 MB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.8769, allocations: 0 / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.8769, allocations: 10.8 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.8771, allocations: 26.02 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.8775, allocations: 157.4 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.8776, allocations: 80.25 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.8777, allocations: 12.34 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.8778, allocations: 50.69 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.8779, allocations: 35.7 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.8779, allocations: 9.406 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.8783, allocations: 282.6 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.8784, allocations: 21.58 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.8784, allocations: 30.56 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.8786, allocations: 158.8 kB / 1.344 GB, free: 14.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8787, allocations: 1.766 kB / 1.344 GB, free: 14.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8787, allocations: 0 / 1.344 GB, free: 14.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8787, allocations: 0 / 1.344 GB, free: 14.13 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005123/0.8792, allocations: 424.2 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8792, allocations: 10.06 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.245e-05/0.8792, allocations: 192 / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.8792, allocations: 37.38 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.8795, allocations: 33.23 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.8797, allocations: 208.2 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.8797, allocations: 5.844 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.8798, allocations: 5.25 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.8799, allocations: 60.72 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8799, allocations: 0 / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.88, allocations: 1.281 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.88, allocations: 0 / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.8801, allocations: 41.72 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.8805, allocations: 304.5 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.8806, allocations: 47.56 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/0.8807, allocations: 26.5 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.8807, allocations: 5.094 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.8807, allocations: 32.42 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.8807, allocations: 4 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0003499/0.8811, allocations: 108.5 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.8811, allocations: 52.56 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.8812, allocations: 143.1 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.8812, allocations: 28.41 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.8812, allocations: 95.5 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.8813, allocations: 19.67 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.8813, allocations: 25.42 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.8813, allocations: 319.8 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.8814, allocations: 19.78 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.8815, allocations: 22.06 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.8816, allocations: 51.95 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8816, allocations: 0 / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002029/0.8818, allocations: 101.2 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8818, allocations: 5.281 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8818, allocations: 0.6094 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8819, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.882, allocations: 13.89 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.882, allocations: 1.375 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.882, allocations: 12.69 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.882, allocations: 6.125 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.755e-05/0.8821, allocations: 119.2 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.8821, allocations: 6.922 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.8824, allocations: 107.6 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.8824, allocations: 3.938 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.8824, allocations: 1.312 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8824, allocations: 4.594 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.8825, allocations: 185.4 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8825, allocations: 4 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.8826, allocations: 14.05 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8826, allocations: 4.781 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.8826, allocations: 1.375 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8826, allocations: 0.7969 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8826, allocations: 1.375 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.8828, allocations: 195.2 kB / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.8828, allocations: 84.47 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8829, allocations: 0.6562 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.8829, allocations: 6.047 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.883, allocations: 11.14 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.883, allocations: 1.938 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.883, allocations: 106.6 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.883, allocations: 0 / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002391/0.8833, allocations: 19.77 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0004195/0.8837, allocations: 0.7309 MB / 1.347 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.8839, allocations: 57.17 kB / 1.347 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8839, allocations: 1.375 kB / 1.347 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.884, allocations: 33.69 kB / 1.347 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.8843, allocations: 21.27 kB / 1.347 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.8855, allocations: 1.478 MB / 1.349 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.8856, allocations: 0.6956 MB / 1.35 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.8857, allocations: 5.109 kB / 1.35 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.8857, allocations: 22.98 kB / 1.35 GB, free: 8.723 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.8857, allocations: 0 / 1.35 GB, free: 8.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.9046, allocations: 2.439 MB / 1.352 GB, free: 8.289 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.731, allocations: 14.31 kB / 1.352 GB, free: 8.281 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.932919092010707]