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.001699/0.001699, allocations: 108.2 kB / 16.45 MB, free: 6.453 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.001962/0.001962, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] 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 3.055/3.055, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.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: 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.001955/0.001955, allocations: 65.33 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003335/0.3142, allocations: 1.898 MB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3189, allocations: 3.655 MB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3191, allocations: 11.94 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007887/0.3199, allocations: 187.4 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.3201, allocations: 71.55 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.3202, allocations: 55.84 kB / 1.353 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.3207, allocations: 267.1 kB / 1.354 GB, free: 3.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.3208, allocations: 21.53 kB / 1.354 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.321, allocations: 79.69 kB / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3211, allocations: 83.67 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3211, allocations: 11.94 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.3212, allocations: 31.92 kB / 1.354 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.3213, allocations: 55.81 kB / 1.354 GB, free: 3.539 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.3214, allocations: 83.48 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.3217, allocations: 195 kB / 1.354 GB, free: 3.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3217, allocations: 0 / 1.354 GB, free: 3.266 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3217, allocations: 3.938 kB / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3217, allocations: 0 / 1.354 GB, free: 3.262 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008721/0.3225, allocations: 0.5487 MB / 1.355 GB, free: 2.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3226, allocations: 11.98 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.3226, allocations: 34.75 kB / 1.355 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.3235, allocations: 124.6 kB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.324, allocations: 259.9 kB / 1.355 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.324, allocations: 384 / 1.355 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.324, allocations: 8.375 kB / 1.355 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3244, allocations: 159.5 kB / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3244, allocations: 4 kB / 1.355 GB, free: 2.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3245, allocations: 3.984 kB / 1.355 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.3245, allocations: 15.98 kB / 1.355 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.325, allocations: 139.9 kB / 1.356 GB, free: 1.867 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.3257, allocations: 468.5 kB / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.3261, allocations: 170.4 kB / 1.356 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.3264, allocations: 108.8 kB / 1.356 GB, free: 1.074 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3264, allocations: 7.969 kB / 1.356 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3265, allocations: 30.56 kB / 1.356 GB, free: 1.027 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3265, allocations: 3.938 kB / 1.356 GB, free: 1.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008991/0.3274, allocations: 305.6 kB / 1.357 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3274, allocations: 63.33 kB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.3276, allocations: 242.7 kB / 1.357 GB, free: 408 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3277, allocations: 29.7 kB / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.3277, allocations: 128.1 kB / 1.357 GB, free: 240 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.3278, allocations: 43.64 kB / 1.357 GB, free: 196 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.3279, allocations: 33.7 kB / 1.357 GB, free: 156 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.328, allocations: 342.8 kB / 1.357 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.3283, allocations: 79.86 kB / 1.358 GB, free: 15.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3285, allocations: 78.31 kB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.329, allocations: 172.7 kB / 1.358 GB, free: 15.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.329, allocations: 0 / 1.358 GB, free: 15.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005998/0.3296, allocations: 243.2 kB / 1.358 GB, free: 15.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3296, allocations: 4 kB / 1.358 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3297, allocations: 0 / 1.358 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3297, allocations: 0 / 1.358 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.33, allocations: 35.97 kB / 1.358 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.33, allocations: 0 / 1.358 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3301, allocations: 19.91 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3302, allocations: 11.94 kB / 1.358 GB, free: 15.17 MB / 1.061 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.0001235/0.3303, allocations: 133.8 kB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.3303, allocations: 23.86 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.3304, allocations: 33.83 kB / 1.358 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3304, allocations: 0 / 1.358 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3304, allocations: 7.938 kB / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3304, allocations: 3.984 kB / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.3307, allocations: 277.4 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3307, allocations: 0 / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.331, allocations: 39.95 kB / 1.359 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.331, allocations: 3.984 kB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.331, allocations: 4 kB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.331, allocations: 0 / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.331, allocations: 3.938 kB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.3317, allocations: 335.1 kB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3318, allocations: 116.9 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3318, allocations: 8 kB / 1.359 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.332, allocations: 11.98 kB / 1.359 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.3321, allocations: 11.98 kB / 1.359 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.3321, allocations: 4 kB / 1.359 GB, free: 14.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001612/0.3323, allocations: 181.9 kB / 1.359 GB, free: 13.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3323, allocations: 4 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002832/0.3325, allocations: 36 kB / 1.359 GB, free: 13.86 MB / 1.061 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.0009362/0.3335, allocations: 0.8665 MB / 1.36 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.334, allocations: 175.9 kB / 1.36 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.334, allocations: 0 / 1.36 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3343, allocations: 95.86 kB / 1.36 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3347, allocations: 45.89 kB / 1.36 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.3382, allocations: 2.415 MB / 1.363 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3385, allocations: 0.7435 MB / 1.363 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.3388, allocations: 61.38 kB / 1.364 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3389, allocations: 63.41 kB / 1.364 GB, free: 9.277 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.3389, allocations: 0 / 1.364 GB, free: 9.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.3665, allocations: 4.789 MB / 1.368 GB, free: 4.656 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.203, allocations: 14.69 kB / 1.368 GB, free: 4.645 MB / 1.061 GB " [Timeout remaining time 292] (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/jenkins1/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: 14.538008847041056]