Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001286/0.001286, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00159/0.00159, allocations: 217 kB / 22.25 MB, free: 5.105 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.82 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 2.94/2.94, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001942/0.001942, allocations: 70.45 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3016, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003271/0.3048, allocations: 1.86 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.3096, allocations: 3.452 MB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3097, allocations: 3.938 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.3105, allocations: 179.2 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.3108, allocations: 83.47 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.3109, allocations: 51.92 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.3114, allocations: 287 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.3115, allocations: 21.73 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3117, allocations: 79.69 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3118, allocations: 75.69 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3119, allocations: 11.94 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.312, allocations: 35.91 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.3121, allocations: 55.81 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.3122, allocations: 71.55 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3125, allocations: 207 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3125, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3125, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3125, allocations: 0 / 1.332 GB, free: 11.04 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.000872/0.3134, allocations: 476.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3134, allocations: 8.031 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.3135, allocations: 42.73 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.3138, allocations: 56.75 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.3143, allocations: 210.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3143, allocations: 12.31 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3143, allocations: 4.375 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.3146, allocations: 141.5 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3146, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3147, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.3147, allocations: 19.98 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.3151, allocations: 139.9 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.3158, allocations: 407.6 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.3162, allocations: 166.5 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3165, allocations: 100.8 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3165, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3165, allocations: 34.56 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.3165, allocations: 0 / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008245/0.3174, allocations: 301.5 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3174, allocations: 55.39 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3177, allocations: 256.2 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3177, allocations: 25.7 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3178, allocations: 144.1 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.3178, allocations: 47.62 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.3179, allocations: 29.7 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3181, allocations: 342.8 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.3183, allocations: 71.94 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3185, allocations: 79.56 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.3189, allocations: 164.7 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3189, allocations: 0 / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005269/0.3194, allocations: 229.3 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3195, allocations: 8 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3195, allocations: 0 / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3195, allocations: 0 / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3197, allocations: 35.97 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3197, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3199, allocations: 19.91 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3199, allocations: 7.938 kB / 1.336 GB, free: 7.289 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.0001219/0.32, allocations: 142.3 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.3201, allocations: 23.86 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.3201, allocations: 33.8 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3201, allocations: 0 / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3201, allocations: 4 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3201, allocations: 3.938 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3204, allocations: 224.6 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3204, allocations: 0 / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3206, allocations: 35.95 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3206, allocations: 11.94 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3206, allocations: 0 / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3206, allocations: 0 / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3206, allocations: 0 / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.3212, allocations: 331.1 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.3213, allocations: 39.73 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3213, allocations: 8 kB / 1.336 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3215, allocations: 11.98 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3216, allocations: 15.97 kB / 1.336 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3216, allocations: 4 kB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000174/0.3218, allocations: 191 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3218, allocations: 0 / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002646/0.322, allocations: 32 kB / 1.337 GB, free: 6.129 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.0009313/0.323, allocations: 0.8651 MB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.3235, allocations: 173.4 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3235, allocations: 4 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3237, allocations: 87.86 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3241, allocations: 48.95 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3274, allocations: 2.437 MB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3276, allocations: 140 kB / 1.34 GB, free: 2.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.3277, allocations: 53.36 kB / 1.34 GB, free: 2.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3278, allocations: 67.41 kB / 1.34 GB, free: 2.133 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3278, allocations: 0 / 1.34 GB, free: 2.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.3602, allocations: 5.778 MB / 1.346 GB, free: 12.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 7.109 kB / 1.346 GB, free: 12.56 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.150487017002888]