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.001427/0.001427, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001625/0.001625, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.305/1.305, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.849/2.849, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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.001865/0.001865, allocations: 67.5 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2769, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002979/0.2798, allocations: 1.934 MB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.2841, allocations: 3.752 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.2842, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.2849, allocations: 199.1 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.285, allocations: 83.45 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.2852, allocations: 51.88 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.2856, allocations: 279.1 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.2857, allocations: 17.73 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.2858, allocations: 87.62 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.286, allocations: 83.61 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.286, allocations: 8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.2861, allocations: 27.98 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.2861, allocations: 59.75 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.2862, allocations: 99.41 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.2865, allocations: 203 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2865, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2865, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2865, allocations: 0 / 1.333 GB, free: 11.05 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.0008145/0.2873, allocations: 484.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2873, allocations: 16.03 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.2874, allocations: 30.75 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.2877, allocations: 60.75 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.2881, allocations: 206.6 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2881, allocations: 4.375 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2881, allocations: 8.359 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.2885, allocations: 149.4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2885, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2885, allocations: 8 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2885, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.2889, allocations: 143.9 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.2896, allocations: 439.5 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.29, allocations: 165.7 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.2902, allocations: 96.72 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2902, allocations: 8 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2903, allocations: 34.5 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2903, allocations: 0 / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007893/0.2911, allocations: 301.6 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.2911, allocations: 51.41 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.2913, allocations: 256.2 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.2913, allocations: 33.7 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.2914, allocations: 132.1 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.2915, allocations: 47.64 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.2915, allocations: 29.7 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2917, allocations: 338.8 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.2919, allocations: 75.94 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2921, allocations: 79.92 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.2925, allocations: 163.2 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2925, allocations: 0 / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005014/0.293, allocations: 229.4 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.293, allocations: 4 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.293, allocations: 0 / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2931, allocations: 4 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2933, allocations: 35.95 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2933, allocations: 7.938 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2934, allocations: 15.92 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2935, allocations: 11.94 kB / 1.336 GB, free: 7.266 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.0001291/0.2936, allocations: 135 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.2936, allocations: 23.86 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.2937, allocations: 33.8 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2937, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2937, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2937, allocations: 4 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.294, allocations: 248.5 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.294, allocations: 0 / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2942, allocations: 39.95 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2942, allocations: 0 / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2942, allocations: 4 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2942, allocations: 3.938 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2942, allocations: 3.938 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.2948, allocations: 323.2 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.2949, allocations: 43.73 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.2949, allocations: 4 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2951, allocations: 11.98 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2951, allocations: 15.97 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2951, allocations: 4 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001653/0.2953, allocations: 191 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.2953, allocations: 0 / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002564/0.2955, allocations: 43.98 kB / 1.337 GB, free: 6.086 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.0008871/0.2964, allocations: 0.854 MB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.2969, allocations: 171.8 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2969, allocations: 7.938 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.2971, allocations: 88.8 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2975, allocations: 64.94 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3007, allocations: 2.438 MB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3011, allocations: 0.7475 MB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.3012, allocations: 45.39 kB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3013, allocations: 63.41 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3013, allocations: 0 / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.332, allocations: 5.14 MB / 1.347 GB, free: 12.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.949/10.28, allocations: 19.31 kB / 1.347 GB, free: 12.51 MB / 1.045 GB " [Timeout remaining time 290] (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: 16.183539079000184]