Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001471/0.001471, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001679/0.001679, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.346/1.346, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.999/2.999, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_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.001936/0.001936, allocations: 63.17 kB / 1.186 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3065, allocations: 181.9 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003041/0.3095, allocations: 1.856 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004289/0.3138, allocations: 3.461 MB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.3139, allocations: 3.938 kB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/0.3146, allocations: 183.4 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3148, allocations: 75.48 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.3149, allocations: 51.91 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.3153, allocations: 291 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.3154, allocations: 17.73 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3155, allocations: 83.69 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3157, allocations: 79.67 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3157, allocations: 8 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.3158, allocations: 31.92 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.3159, allocations: 55.75 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.316, allocations: 79.53 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3162, allocations: 199 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3162, allocations: 0 / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.636e-06/0.3162, allocations: 4 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3162, allocations: 0 / 1.37 GB, free: 7.715 MB / 1.061 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.0008375/0.3171, allocations: 472.8 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3171, allocations: 12.03 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.3172, allocations: 42.73 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.318, allocations: 116.6 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.3184, allocations: 214.6 kB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3184, allocations: 384 / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3185, allocations: 12.31 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.3188, allocations: 163.8 kB / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3188, allocations: 0 / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3189, allocations: 7.938 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.3189, allocations: 8 kB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.3193, allocations: 159.9 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.3201, allocations: 423.6 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.3205, allocations: 174.5 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.3208, allocations: 112.8 kB / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3208, allocations: 256 / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3208, allocations: 30.56 kB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 8.11e-07/0.3208, allocations: 4 kB / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008581/0.3217, allocations: 327.4 kB / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3217, allocations: 51.41 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.322, allocations: 256.2 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.322, allocations: 25.7 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3221, allocations: 136.1 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.3222, allocations: 43.64 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.3222, allocations: 33.7 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3224, allocations: 342.8 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.3226, allocations: 79.92 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3228, allocations: 79.94 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.3233, allocations: 191.7 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3233, allocations: 0 / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005602/0.3239, allocations: 233.4 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3239, allocations: 4 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3239, allocations: 7.984 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3239, allocations: 0 / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3242, allocations: 35.97 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3242, allocations: 0 / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3244, allocations: 19.88 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3244, allocations: 11.92 kB / 1.373 GB, free: 3.773 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.0001325/0.3245, allocations: 138.4 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.3246, allocations: 35.8 kB / 1.374 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.3246, allocations: 33.8 kB / 1.374 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3246, allocations: 3.984 kB / 1.374 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3246, allocations: 0 / 1.374 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3246, allocations: 4 kB / 1.374 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.3249, allocations: 232.6 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3249, allocations: 0 / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.3252, allocations: 35.97 kB / 1.374 GB, free: 3.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3252, allocations: 0 / 1.374 GB, free: 3.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3252, allocations: 7.984 kB / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3252, allocations: 7.938 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3252, allocations: 3.984 kB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.3258, allocations: 347.1 kB / 1.374 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/0.3259, allocations: 35.78 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.326, allocations: 3.984 kB / 1.374 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3262, allocations: 19.98 kB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3262, allocations: 7.984 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3262, allocations: 7.984 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001658/0.3264, allocations: 191 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 0 / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002537/0.3267, allocations: 36 kB / 1.374 GB, free: 2.578 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.000925/0.3276, allocations: 0.8723 MB / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.3281, allocations: 187.1 kB / 1.375 GB, free: 1.496 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3281, allocations: 0 / 1.375 GB, free: 1.496 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3284, allocations: 99.86 kB / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3288, allocations: 54.06 kB / 1.376 GB, free: 1.344 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.3321, allocations: 2.479 MB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3322, allocations: 144.1 kB / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.3324, allocations: 69.3 kB / 1.378 GB, free: 14.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3326, allocations: 59.41 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3326, allocations: 4 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3649, allocations: 5.831 MB / 1.384 GB, free: 8.875 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.79, allocations: 10.23 kB / 1.384 GB, free: 8.867 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.988200089894235]