Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001767/0.001767, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.002018/0.002018, allocations: 191.8 kB / 19.41 MB, free: 3.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.478/1.478, 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 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.742/2.742, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.88 kB / 1.104 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8468, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003697/0.8505, allocations: 2.171 MB / 1.271 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005131/0.8556, allocations: 3.811 MB / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.8558, allocations: 0 / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.856, allocations: 71.36 kB / 1.275 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.8564, allocations: 123.2 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.8568, allocations: 147.6 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.8572, allocations: 314.9 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.8573, allocations: 40.67 kB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.8575, allocations: 135.5 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.8577, allocations: 147.3 kB / 1.276 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.8578, allocations: 23.94 kB / 1.276 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.8581, allocations: 139.8 kB / 1.276 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.8581, allocations: 51.83 kB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.8583, allocations: 127.2 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.8588, allocations: 338.6 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8588, allocations: 4 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8588, allocations: 0 / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8588, allocations: 4 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001324/0.8601, allocations: 0.6421 MB / 1.277 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8601, allocations: 12.03 kB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.8602, allocations: 34.75 kB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009087/0.8611, allocations: 176.5 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.8619, allocations: 324.5 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.8619, allocations: 12.25 kB / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.8619, allocations: 8 kB / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.8626, allocations: 228.1 kB / 1.278 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8626, allocations: 3.938 kB / 1.278 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.8626, allocations: 4 kB / 1.278 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8626, allocations: 0 / 1.278 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/0.8636, allocations: 283.7 kB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.865, allocations: 0.5862 MB / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.8655, allocations: 158.4 kB / 1.279 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/0.866, allocations: 148.7 kB / 1.279 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009208/0.8669, allocations: 0.5532 MB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.867, allocations: 38.5 kB / 1.279 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.867, allocations: 0 / 1.279 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001652/0.8686, allocations: 481.4 kB / 1.28 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.8687, allocations: 51.41 kB / 1.28 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.869, allocations: 268.5 kB / 1.28 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.869, allocations: 29.7 kB / 1.28 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.8691, allocations: 152 kB / 1.28 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.8692, allocations: 43.64 kB / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.8693, allocations: 37.69 kB / 1.28 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8695, allocations: 338.8 kB / 1.281 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.87, allocations: 143.9 kB / 1.281 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.8705, allocations: 147.9 kB / 1.281 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.8715, allocations: 294.1 kB / 1.281 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8715, allocations: 0 / 1.281 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001162/0.8726, allocations: 382.7 kB / 1.282 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8727, allocations: 4 kB / 1.282 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.8727, allocations: 0 / 1.282 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.8727, allocations: 7.938 kB / 1.282 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.8732, allocations: 63.86 kB / 1.282 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.8732, allocations: 4 kB / 1.282 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.8735, allocations: 55.77 kB / 1.282 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.8735, allocations: 7.938 kB / 1.282 GB, free: 7.559 MB / 0.9825 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 (17): * Single equations (assignments): 17 * 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.0001671/0.8737, allocations: 133.8 kB / 1.282 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.8738, allocations: 23.86 kB / 1.282 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.875, allocations: 379.3 kB / 1.282 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.875, allocations: 0 / 1.282 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.875, allocations: 0 / 1.282 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.875, allocations: 7.922 kB / 1.282 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.8753, allocations: 301.4 kB / 1.282 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8754, allocations: 4 kB / 1.282 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.8758, allocations: 63.92 kB / 1.283 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8758, allocations: 0 / 1.283 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.8758, allocations: 3.984 kB / 1.283 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8758, allocations: 0 / 1.283 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8758, allocations: 4 kB / 1.283 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.8769, allocations: 455 kB / 1.283 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.8771, allocations: 124.9 kB / 1.283 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.8771, allocations: 0 / 1.283 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.8775, allocations: 35.95 kB / 1.283 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.8776, allocations: 23.91 kB / 1.283 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.8776, allocations: 0 / 1.283 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001944/0.8778, allocations: 191.1 kB / 1.283 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8778, allocations: 4 kB / 1.283 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003603/0.8781, allocations: 75.83 kB / 1.283 GB, free: 5.668 MB / 0.9825 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.001598/0.8797, allocations: 1.005 MB / 1.284 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.8808, allocations: 314.3 kB / 1.285 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8808, allocations: 0 / 1.285 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.8814, allocations: 155.8 kB / 1.285 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.8818, allocations: 50.45 kB / 1.285 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.887, allocations: 2.892 MB / 1.288 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.8874, allocations: 0.7474 MB / 1.288 GB, free: 396 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.8876, allocations: 53.36 kB / 1.289 GB, free: 336 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.8878, allocations: 75.41 kB / 1.289 GB, free: 264 kB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.8878, allocations: 0 / 1.289 GB, free: 264 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.9178, allocations: 5.86 MB / 1.294 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/9.217, allocations: 9.203 kB / 1.294 GB, free: 10.56 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.294353276956826]