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.00123/0.00123, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001445/0.001445, allocations: 215.2 kB / 22.25 MB, free: 5.129 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 179] 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.915/2.915, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",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.001875/0.001875, allocations: 63.73 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2915, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002979/0.2945, allocations: 1.655 MB / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.2962, allocations: 1.005 MB / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.2963, allocations: 0 / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.2964, allocations: 7.875 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2966, allocations: 23.78 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.297, allocations: 167.8 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2972, allocations: 79.66 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.2973, allocations: 11.92 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2975, allocations: 47.78 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2976, allocations: 35.84 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2976, allocations: 4 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.298, allocations: 287.7 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.2981, allocations: 15.92 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.2981, allocations: 39.78 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.2984, allocations: 151.5 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2984, allocations: 0 / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2984, allocations: 0 / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.2984, allocations: 0 / 1.356 GB, free: 4.871 MB / 1.045 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.0006018/0.299, allocations: 345.7 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2991, allocations: 11.97 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.2991, allocations: 30.75 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.2994, allocations: 36.86 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2996, allocations: 148.3 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2996, allocations: 4.125 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2996, allocations: 8 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2998, allocations: 61.66 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2998, allocations: 0 / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2998, allocations: 7.938 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2998, allocations: 0 / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3, allocations: 43.95 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.3004, allocations: 267.8 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.3006, allocations: 54.55 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.3006, allocations: 32.97 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3007, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3007, allocations: 30.56 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.3007, allocations: 0 / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0003412/0.301, allocations: 109.5 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3011, allocations: 59.41 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3012, allocations: 138.1 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3012, allocations: 25.7 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3013, allocations: 92.14 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3013, allocations: 23.83 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.3013, allocations: 13.72 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3015, allocations: 322.8 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.3015, allocations: 31.98 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.3016, allocations: 19.98 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3018, allocations: 52.83 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3018, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002138/0.302, allocations: 93.98 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.302, allocations: 4 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.302, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.302, allocations: 4 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3021, allocations: 19.98 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3021, allocations: 4 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.3022, allocations: 11.89 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3022, allocations: 0 / 1.358 GB, free: 2.609 MB / 1.045 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 9.332e-05/0.3023, allocations: 121.7 kB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.3023, allocations: 7.953 kB / 1.358 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.3026, allocations: 106 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3026, allocations: 0 / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3026, allocations: 0 / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3026, allocations: 7.875 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3028, allocations: 160.8 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3028, allocations: 3.938 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.3028, allocations: 19.98 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3028, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3029, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3029, allocations: 4 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3029, allocations: 0 / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3031, allocations: 195.3 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.3031, allocations: 3.953 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3031, allocations: 0 / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.3032, allocations: 4 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3033, allocations: 7.984 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.3033, allocations: 11.94 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.432e-05/0.3033, allocations: 105 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3033, allocations: 0 / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002348/0.3036, allocations: 23.94 kB / 1.359 GB, free: 1.77 MB / 1.045 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.0006071/0.3042, allocations: 0.7281 MB / 1.36 GB, free: 1.016 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3044, allocations: 60.02 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3044, allocations: 0 / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.3045, allocations: 23.98 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3047, allocations: 19.88 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3064, allocations: 1.472 MB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3067, allocations: 0.6901 MB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3067, allocations: 15.97 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.3068, allocations: 23.44 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3068, allocations: 0 / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3353, allocations: 2.497 MB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.986/10.32, allocations: 11.75 kB / 1.364 GB, free: 12.25 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.258493297966197]