Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001612/0.001612, allocations: 107.2 kB / 16.46 MB, free: 6.504 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.001354/0.001354, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.14/3.14, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.92 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3737, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003264/0.377, allocations: 1.864 MB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.3815, allocations: 3.56 MB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3816, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.3825, allocations: 178.9 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3827, allocations: 79.45 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.668e-05/0.3827, allocations: 19.97 kB / 1.31 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.3832, allocations: 259.1 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3833, allocations: 21.53 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3834, allocations: 83.69 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3836, allocations: 71.69 kB / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3836, allocations: 4 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.3837, allocations: 35.91 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.3838, allocations: 51.81 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.73e-05/0.3839, allocations: 87.42 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3841, allocations: 187.1 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3841, allocations: 3.984 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3841, allocations: 0 / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3841, allocations: 0 / 1.31 GB, free: 10.98 MB / 1.014 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.0008841/0.385, allocations: 0.5215 MB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.385, allocations: 8.922 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.3851, allocations: 42.73 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3851, allocations: 28.75 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3855, allocations: 251.8 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.3855, allocations: 384 / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3855, allocations: 4.375 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.3859, allocations: 139.5 kB / 1.311 GB, free: 9.898 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3859, allocations: 3.984 kB / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3859, allocations: 7.984 kB / 1.311 GB, free: 9.887 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.386, allocations: 15.98 kB / 1.311 GB, free: 9.871 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.3864, allocations: 135.8 kB / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.3871, allocations: 444.5 kB / 1.312 GB, free: 9.254 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.3875, allocations: 150.5 kB / 1.312 GB, free: 9.098 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3877, allocations: 100.8 kB / 1.312 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3878, allocations: 7.984 kB / 1.312 GB, free: 8.988 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3878, allocations: 30.56 kB / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3878, allocations: 0 / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0008295/0.3886, allocations: 289.5 kB / 1.312 GB, free: 8.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3887, allocations: 55.41 kB / 1.312 GB, free: 8.594 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.3889, allocations: 238.6 kB / 1.313 GB, free: 8.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.389, allocations: 25.7 kB / 1.313 GB, free: 8.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3891, allocations: 128.1 kB / 1.313 GB, free: 8.191 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.3891, allocations: 43.64 kB / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3892, allocations: 29.7 kB / 1.313 GB, free: 8.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3893, allocations: 342.8 kB / 1.313 GB, free: 7.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3895, allocations: 67.94 kB / 1.313 GB, free: 7.703 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3897, allocations: 75.88 kB / 1.313 GB, free: 7.629 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.3901, allocations: 160.4 kB / 1.314 GB, free: 7.473 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3902, allocations: 0 / 1.314 GB, free: 7.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004949/0.3906, allocations: 213.4 kB / 1.314 GB, free: 7.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3907, allocations: 8 kB / 1.314 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3907, allocations: 0 / 1.314 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3907, allocations: 4 kB / 1.314 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3909, allocations: 39.89 kB / 1.314 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.3909, allocations: 0 / 1.314 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3911, allocations: 19.88 kB / 1.314 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3911, allocations: 11.92 kB / 1.314 GB, free: 7.176 MB / 1.014 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 0.0001463/0.3913, allocations: 149.7 kB / 1.314 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3913, allocations: 19.86 kB / 1.314 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.3914, allocations: 29.83 kB / 1.314 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3914, allocations: 4 kB / 1.314 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3914, allocations: 0 / 1.314 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3914, allocations: 0 / 1.314 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3917, allocations: 269.4 kB / 1.314 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3917, allocations: 0 / 1.314 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3919, allocations: 35.95 kB / 1.314 GB, free: 6.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3919, allocations: 8 kB / 1.314 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3919, allocations: 0 / 1.314 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3919, allocations: 0 / 1.314 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3919, allocations: 0 / 1.314 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.3925, allocations: 327.2 kB / 1.315 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3926, allocations: 112.9 kB / 1.315 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.3926, allocations: 8 kB / 1.315 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3928, allocations: 7.984 kB / 1.315 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3929, allocations: 15.98 kB / 1.315 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3929, allocations: 3.984 kB / 1.315 GB, free: 6.109 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001695/0.3931, allocations: 177.9 kB / 1.315 GB, free: 5.938 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3931, allocations: 0 / 1.315 GB, free: 5.938 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002774/0.3933, allocations: 40 kB / 1.315 GB, free: 5.898 MB / 1.014 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.0009501/0.3943, allocations: 0.8488 MB / 1.316 GB, free: 5.023 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.3948, allocations: 167.6 kB / 1.316 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3948, allocations: 0 / 1.316 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3951, allocations: 87.88 kB / 1.316 GB, free: 4.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.3955, allocations: 53.92 kB / 1.316 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.3989, allocations: 2.333 MB / 1.318 GB, free: 2.316 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3993, allocations: 0.7357 MB / 1.319 GB, free: 1.555 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.3995, allocations: 52.97 kB / 1.319 GB, free: 1.504 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3996, allocations: 63.41 kB / 1.319 GB, free: 1.441 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.3996, allocations: 0 / 1.319 GB, free: 1.441 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.4294, allocations: 4.577 MB / 1.324 GB, free: 13.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.53, allocations: 10.55 kB / 1.324 GB, free: 13.04 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.147216082084924]