Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001519/0.001519, 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.00179/0.00179, allocations: 216.4 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.342/1.342, 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 3.023/3.023, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001928/0.001928, allocations: 68 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2924, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003551/0.296, allocations: 2.009 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.3012, allocations: 3.904 MB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.94e-05/0.3013, allocations: 3.938 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.3021, allocations: 179.2 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3022, allocations: 63.44 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.3029, allocations: 317.5 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.3035, allocations: 390.8 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3036, allocations: 32.56 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3037, allocations: 123.5 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3039, allocations: 123.4 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.304, allocations: 16 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.3045, allocations: 307.5 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3046, allocations: 107.6 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3047, allocations: 119.3 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.3054, allocations: 0.5253 MB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3054, allocations: 7.984 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3054, allocations: 0 / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3054, allocations: 3.938 kB / 1.371 GB, free: 5.82 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001332/0.3067, allocations: 0.6964 MB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3067, allocations: 8.031 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.3068, allocations: 38.75 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.3078, allocations: 156.5 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.3085, allocations: 308.6 kB / 1.373 GB, free: 4.555 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3085, allocations: 4.375 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3085, allocations: 12.38 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.3091, allocations: 209.4 kB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3091, allocations: 4 kB / 1.373 GB, free: 4.324 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3091, allocations: 4 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3091, allocations: 4 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.3098, allocations: 261.7 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.3109, allocations: 0.5307 MB / 1.374 GB, free: 3.488 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.3114, allocations: 186.3 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.3118, allocations: 136.8 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3118, allocations: 19.98 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3119, allocations: 30.56 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3119, allocations: 0 / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001289/0.3131, allocations: 477.2 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3132, allocations: 55.34 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.3136, allocations: 421.9 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.3137, allocations: 29.92 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3138, allocations: 184 kB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.3138, allocations: 39.59 kB / 1.375 GB, free: 1.887 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.3139, allocations: 49.56 kB / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3141, allocations: 350.8 kB / 1.375 GB, free: 1.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.3146, allocations: 221.6 kB / 1.376 GB, free: 1.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.315, allocations: 217.6 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.3158, allocations: 380 kB / 1.376 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3158, allocations: 0 / 1.376 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001024/0.3169, allocations: 0.5245 MB / 1.377 GB, free: 120 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.3169, allocations: 45.69 kB / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3169, allocations: 0 / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3169, allocations: 0 / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.3173, allocations: 51.88 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3173, allocations: 3.938 kB / 1.377 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.3176, allocations: 43.86 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.3176, allocations: 7.984 kB / 1.377 GB, free: 15.96 MB / 1.076 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001559/0.3177, allocations: 154.9 kB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.3178, allocations: 39.77 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009752/0.3188, allocations: 376.5 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3188, allocations: 4 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3188, allocations: 3.938 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3188, allocations: 0 / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3192, allocations: 296.5 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3192, allocations: 8 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.3195, allocations: 43.94 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3195, allocations: 0 / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.3195, allocations: 7.984 kB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3195, allocations: 0 / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3195, allocations: 3.938 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.3204, allocations: 439 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3206, allocations: 67.59 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3206, allocations: 4 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.3209, allocations: 23.97 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.3209, allocations: 23.91 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.321, allocations: 4 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003225/0.3213, allocations: 299.1 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3213, allocations: 0 / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004124/0.3217, allocations: 111.9 kB / 1.379 GB, free: 14.02 MB / 1.076 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 (11): * Single equations (assignments): 11 * 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.001419/0.3231, allocations: 1.036 MB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.3241, allocations: 481.8 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3241, allocations: 0 / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.3245, allocations: 147.8 kB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.325, allocations: 71.98 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.3311, allocations: 4.451 MB / 1.385 GB, free: 7.695 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.3313, allocations: 179.2 kB / 1.385 GB, free: 7.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.3315, allocations: 57.92 kB / 1.385 GB, free: 7.441 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3317, allocations: 111.4 kB / 1.385 GB, free: 7.332 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/0.3317, allocations: 0 / 1.385 GB, free: 7.332 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.369, allocations: 9.468 MB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 12 kB / 1.394 GB, free: 14.06 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solGai.TFlu[1] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[1] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[2] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[2] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[3] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[3] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[2] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[2] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[3] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[3] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.25993185862899]