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.001435/0.001435, 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.001588/0.001588, allocations: 214.1 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.311/1.311, allocations: 230.6 MB / 256 MB, free: 8.023 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.873/2.873, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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.001879/0.001879, allocations: 65.03 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2905, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002963/0.2935, allocations: 1.913 MB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004255/0.2977, allocations: 3.701 MB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.743e-05/0.2978, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000658/0.2985, allocations: 175.5 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.2987, allocations: 83.45 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.2988, allocations: 51.94 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2992, allocations: 267.1 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.2993, allocations: 21.72 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2994, allocations: 79.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2996, allocations: 87.55 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.2996, allocations: 8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.2997, allocations: 27.98 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.2997, allocations: 55.81 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.2998, allocations: 95.34 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3001, allocations: 195 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.3001, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3001, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3001, allocations: 0 / 1.332 GB, free: 11.21 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.0007874/0.3009, allocations: 472.8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3009, allocations: 8.031 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.301, allocations: 42.73 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.3013, allocations: 60.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.3017, allocations: 201.5 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3017, allocations: 384 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3017, allocations: 4.375 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.302, allocations: 137.5 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3021, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3021, allocations: 3.984 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.3021, allocations: 19.91 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3025, allocations: 135.8 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.3031, allocations: 419.6 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.3035, allocations: 150.5 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3037, allocations: 96.77 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3038, allocations: 11.94 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3038, allocations: 38.5 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3038, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007791/0.3046, allocations: 288.7 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3046, allocations: 55.41 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3048, allocations: 245.9 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3049, allocations: 29.7 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.305, allocations: 132.1 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.305, allocations: 39.64 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.3051, allocations: 37.64 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3052, allocations: 342.8 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3054, allocations: 67.94 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.3056, allocations: 71.94 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.306, allocations: 156.7 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.306, allocations: 0 / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004898/0.3065, allocations: 215.4 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3065, allocations: 4 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3065, allocations: 4 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.3065, allocations: 0 / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.3068, allocations: 35.91 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3068, allocations: 4 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3069, allocations: 27.86 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3069, allocations: 11.94 kB / 1.336 GB, free: 7.531 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.0001221/0.307, allocations: 134.4 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3071, allocations: 23.86 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.3071, allocations: 33.75 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3071, allocations: 4 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3071, allocations: 0 / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3072, allocations: 3.984 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3074, allocations: 240.5 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3074, allocations: 0 / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.3076, allocations: 35.95 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3076, allocations: 3.938 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3076, allocations: 8 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3076, allocations: 0 / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3076, allocations: 0 / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.3082, allocations: 315.2 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.3083, allocations: 39.77 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3083, allocations: 0 / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3085, allocations: 15.98 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.3086, allocations: 7.984 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3086, allocations: 11.98 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001657/0.3087, allocations: 181.1 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3087, allocations: 0 / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002499/0.309, allocations: 36 kB / 1.337 GB, free: 6.387 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.000855/0.3099, allocations: 0.8498 MB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.3103, allocations: 169 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3103, allocations: 0 / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.3105, allocations: 91.86 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3109, allocations: 50.44 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.314, allocations: 2.369 MB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.3144, allocations: 0.7396 MB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.3145, allocations: 57.34 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.3146, allocations: 63.41 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3146, allocations: 0 / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3443, allocations: 4.83 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.918/10.26, allocations: 5.531 kB / 1.346 GB, free: 13.21 MB / 1.045 GB " [Timeout remaining time 290] (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.19464303699897]