Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 75.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.9988, allocations: 168.7 MB / 1.272 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003323/1.002, allocations: 1.937 MB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004039/1.006, allocations: 3.487 MB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/1.006, allocations: 4.844 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/1.007, allocations: 59.86 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005113/1.007, allocations: 132.5 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.041e-05/1.007, allocations: 25.92 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/1.007, allocations: 168.3 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/1.008, allocations: 22.19 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/1.008, allocations: 89.88 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/1.008, allocations: 79.48 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/1.008, allocations: 8.156 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/1.008, allocations: 32.62 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/1.008, allocations: 33.17 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/1.008, allocations: 76 kB / 1.278 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/1.008, allocations: 168.5 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.008, allocations: 0.9688 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.008, allocations: 0 / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.008, allocations: 4 kB / 1.278 GB, free: 3.422 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008475/1.009, allocations: 0.5032 MB / 1.278 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.009, allocations: 9.469 kB / 1.278 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/1.009, allocations: 39.48 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/1.009, allocations: 18.09 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/1.01, allocations: 250.2 kB / 1.278 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/1.01, allocations: 2.547 kB / 1.278 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.01, allocations: 7.625 kB / 1.278 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/1.01, allocations: 137.8 kB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.01, allocations: 0.875 kB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.01, allocations: 7.938 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/1.01, allocations: 9.031 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/1.011, allocations: 137.5 kB / 1.279 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/1.011, allocations: 441.4 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/1.012, allocations: 162.2 kB / 1.279 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/1.012, allocations: 91.69 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/1.012, allocations: 2.953 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/1.012, allocations: 39.31 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/1.012, allocations: 0 / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008115/1.013, allocations: 280.7 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/1.013, allocations: 57.09 kB / 1.28 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/1.013, allocations: 212.2 kB / 1.28 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/1.013, allocations: 25.7 kB / 1.28 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/1.013, allocations: 121.6 kB / 1.28 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/1.013, allocations: 51.59 kB / 1.28 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/1.013, allocations: 27.83 kB / 1.28 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/1.013, allocations: 332.7 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/1.013, allocations: 74.81 kB / 1.281 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/1.014, allocations: 75.12 kB / 1.281 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/1.014, allocations: 159.5 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.014, allocations: 0.9062 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005328/1.015, allocations: 211.1 kB / 1.281 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.015, allocations: 5.844 kB / 1.281 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.015, allocations: 0 / 1.281 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.015, allocations: 1.453 kB / 1.281 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.015, allocations: 37.64 kB / 1.281 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.015, allocations: 4.578 kB / 1.281 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/1.015, allocations: 12.75 kB / 1.281 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/1.015, allocations: 17.12 kB / 1.281 GB, free: 1.078 MB / 0.9981 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 (13): * Single equations (assignments): 13 * 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 8.607e-05/1.015, allocations: 128.3 kB / 1.281 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/1.015, allocations: 20.42 kB / 1.281 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/1.015, allocations: 29.8 kB / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.015, allocations: 1.375 kB / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.015, allocations: 1.156 kB / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.015, allocations: 1.609 kB / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/1.015, allocations: 258.2 kB / 1.282 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.015, allocations: 3.938 kB / 1.282 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/1.016, allocations: 33.94 kB / 1.282 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.016, allocations: 0 / 1.282 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/1.016, allocations: 6.922 kB / 1.282 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.016, allocations: 5.75 kB / 1.282 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.016, allocations: 0 / 1.282 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/1.016, allocations: 311.1 kB / 1.282 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/1.016, allocations: 117.5 kB / 1.282 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/1.016, allocations: 5.781 kB / 1.282 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/1.017, allocations: 12.55 kB / 1.282 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/1.017, allocations: 12.03 kB / 1.282 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.017, allocations: 5.344 kB / 1.282 GB, free: 376 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001206/1.017, allocations: 156.8 kB / 1.282 GB, free: 276 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.017, allocations: 1 kB / 1.282 GB, free: 276 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002767/1.017, allocations: 33.72 kB / 1.282 GB, free: 272 kB / 0.9981 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 (13): * Single equations (assignments): 13 * 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.0008793/1.018, allocations: 0.849 MB / 1.283 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005231/1.018, allocations: 168.4 kB / 1.283 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.018, allocations: 1.156 kB / 1.283 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/1.019, allocations: 83.34 kB / 1.283 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/1.019, allocations: 34.98 kB / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/1.022, allocations: 2.267 MB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.023, allocations: 0.7346 MB / 1.286 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001672/1.023, allocations: 48.28 kB / 1.286 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.023, allocations: 52.28 kB / 1.286 GB, free: 13.18 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.023, allocations: 0 / 1.286 GB, free: 13.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/1.051, allocations: 3.746 MB / 1.29 GB, free: 12.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/9.079, allocations: 8.172 kB / 1.29 GB, free: 12.65 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 15.23468264300027]