Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001582/0.001582, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002112/0.002112, allocations: 216.1 kB / 22.24 MB, free: 5.258 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.012/3.012, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_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.001938/0.001938, allocations: 61.94 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2964, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003122/0.2996, allocations: 1.843 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004519/0.3041, allocations: 3.413 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3042, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.305, allocations: 163.5 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.3052, allocations: 75.48 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.3054, allocations: 55.91 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.3059, allocations: 271.1 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.306, allocations: 21.72 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3061, allocations: 83.69 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.3063, allocations: 83.61 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3063, allocations: 8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.3064, allocations: 24 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.3065, allocations: 51.81 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.3066, allocations: 75.47 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3068, allocations: 199 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3068, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3068, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3068, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 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.0008409/0.3077, allocations: 476.8 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3077, allocations: 8.031 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3078, allocations: 34.75 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.3081, allocations: 64.64 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.3085, allocations: 201.5 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3086, allocations: 4.375 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3086, allocations: 4.375 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.3089, allocations: 145.4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3089, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.309, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.309, allocations: 11.98 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.3094, allocations: 145.2 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.3101, allocations: 387.7 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.3106, allocations: 154.5 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.3108, allocations: 100.8 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3108, allocations: 4 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3109, allocations: 34.5 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3109, allocations: 0 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008113/0.3117, allocations: 285.6 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3117, allocations: 55.41 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3119, allocations: 241.9 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.312, allocations: 33.7 kB / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.3121, allocations: 132.1 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.3121, allocations: 51.64 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.3122, allocations: 29.7 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3123, allocations: 338.8 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3125, allocations: 67.94 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3127, allocations: 67.94 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.3132, allocations: 162.1 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3132, allocations: 0 / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005097/0.3137, allocations: 215.8 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3137, allocations: 4 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3137, allocations: 4 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3137, allocations: 0 / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.314, allocations: 43.89 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.314, allocations: 3.984 kB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.3141, allocations: 23.86 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3141, allocations: 7.938 kB / 1.335 GB, free: 7.43 MB / 1.029 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.0001249/0.3143, allocations: 142.3 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.3143, allocations: 23.86 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.3144, allocations: 25.78 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3144, allocations: 0 / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3144, allocations: 3.984 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3144, allocations: 3.938 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3147, allocations: 228.6 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3147, allocations: 3.938 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.3149, allocations: 39.89 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3149, allocations: 8 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3149, allocations: 4 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3149, allocations: 0 / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3149, allocations: 0 / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3155, allocations: 307.2 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.3155, allocations: 43.77 kB / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3156, allocations: 4 kB / 1.336 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3157, allocations: 11.98 kB / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3158, allocations: 11.98 kB / 1.336 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3158, allocations: 7.984 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001653/0.316, allocations: 185.1 kB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.316, allocations: 0 / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002669/0.3162, allocations: 32 kB / 1.336 GB, free: 6.293 MB / 1.029 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.0009014/0.3171, allocations: 0.8592 MB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.3177, allocations: 155.8 kB / 1.337 GB, free: 5.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3177, allocations: 4 kB / 1.337 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3179, allocations: 91.86 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3183, allocations: 42.36 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3215, allocations: 2.37 MB / 1.34 GB, free: 2.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3216, allocations: 132 kB / 1.34 GB, free: 2.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.3218, allocations: 53.36 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3219, allocations: 59.41 kB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3219, allocations: 0 / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.3534, allocations: 5.442 MB / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.57, allocations: 0 / 1.345 GB, free: 13.17 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.87562048799009]