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.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.0007844/0.0007844, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007944/0.0007944, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8576/0.8576, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 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 1.676/1.676, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 1.463e-06/1.463e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.893e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002171/0.00219, allocations: 1.826 MB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.005005, allocations: 3.413 MB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.005084, allocations: 0 / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.005678, allocations: 159.3 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.005813, allocations: 83.34 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.773e-05/0.005891, allocations: 51.86 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000395/0.006286, allocations: 283 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.006361, allocations: 13.81 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.006452, allocations: 99.7 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.006546, allocations: 67.8 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.006562, allocations: 4 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.006622, allocations: 31.92 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.006673, allocations: 55.83 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.006716, allocations: 47.86 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.006889, allocations: 203.1 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006891, allocations: 4 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006892, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.006895, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 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.0005171/0.007412, allocations: 472.9 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.007446, allocations: 8.75 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.007476, allocations: 38.73 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.007886, allocations: 120.6 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.008175, allocations: 200.8 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.008185, allocations: 8.375 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.008199, allocations: 8.312 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.008421, allocations: 158 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.008429, allocations: 192 / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.008443, allocations: 7.922 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.008463, allocations: 12 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.008697, allocations: 147.9 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.009134, allocations: 411.7 kB / 1.007 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.009373, allocations: 170.5 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.009512, allocations: 100.8 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.009527, allocations: 8 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.009542, allocations: 30.56 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 8.12e-07/0.009543, allocations: 0 / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004781/0.01002, allocations: 317 kB / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.01005, allocations: 51.41 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01019, allocations: 245.9 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.01021, allocations: 29.7 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.01027, allocations: 144 kB / 1.008 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.01031, allocations: 47.58 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.01035, allocations: 29.7 kB / 1.008 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.01043, allocations: 342.8 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.01055, allocations: 75.94 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01066, allocations: 79.92 kB / 1.009 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.0109, allocations: 168.7 kB / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01091, allocations: 0 / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002953/0.0112, allocations: 233.4 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01121, allocations: 4 kB / 1.009 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01122, allocations: 3.938 kB / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01123, allocations: 4 kB / 1.009 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.01136, allocations: 35.95 kB / 1.009 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01136, allocations: 4 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.01144, allocations: 15.94 kB / 1.009 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01145, allocations: 4 kB / 1.009 GB, free: 3.301 MB / 0.9636 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.242e-05/0.01153, allocations: 153.6 kB / 1.01 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.01156, allocations: 23.84 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.01159, allocations: 29.77 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01159, allocations: 0 / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.0116, allocations: 4 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.0116, allocations: 0 / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.01178, allocations: 232.6 kB / 1.01 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01178, allocations: 0 / 1.01 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.01188, allocations: 35.97 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01188, allocations: 0 / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01189, allocations: 3.984 kB / 1.01 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01189, allocations: 0 / 1.01 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01189, allocations: 4 kB / 1.01 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.01222, allocations: 338.2 kB / 1.01 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.01227, allocations: 35.84 kB / 1.01 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01229, allocations: 4 kB / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.01238, allocations: 19.97 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.01242, allocations: 3.984 kB / 1.01 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01243, allocations: 12 kB / 1.01 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.614e-05/0.01253, allocations: 177.2 kB / 1.01 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01253, allocations: 4 kB / 1.01 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001714/0.0127, allocations: 43.94 kB / 1.01 GB, free: 2.141 MB / 0.9636 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.000511/0.01321, allocations: 0.8566 MB / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.0135, allocations: 179.9 kB / 1.011 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.0135, allocations: 0 / 1.011 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.01363, allocations: 95.86 kB / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.01389, allocations: 48.39 kB / 1.012 GB, free: 0.9375 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.0158, allocations: 2.396 MB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.01587, allocations: 136 kB / 1.014 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000132/0.01601, allocations: 61.44 kB / 1.014 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.01609, allocations: 64.47 kB / 1.014 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of SimCode: time 6.62e-07/0.01609, allocations: 0 / 1.014 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.03183, allocations: 5.626 MB / 1.02 GB, free: 8.762 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.274/6.305, allocations: 4.281 kB / 1.02 GB, free: 8.762 MB / 0.9792 GB " [Timeout remaining time 294] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable T1.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.273644984699786]