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.001509/0.001509, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001684/0.001684, allocations: 218.8 kB / 23.01 MB, free: 4.605 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.964/2.964, allocations: 0.505 GB / 0.8108 GB, free: 22.12 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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.001957/0.001957, allocations: 62.19 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 180.2 MB / 1.354 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00315/0.3105, allocations: 2.11 MB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.3155, allocations: 4.235 MB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3157, allocations: 3.938 kB / 1.36 GB, free: 1.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.3165, allocations: 211 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.3167, allocations: 71.42 kB / 1.361 GB, free: 1.383 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.3174, allocations: 301.4 kB / 1.361 GB, free: 1.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.318, allocations: 398.8 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3181, allocations: 32.56 kB / 1.361 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3183, allocations: 115.5 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3185, allocations: 131.4 kB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.3185, allocations: 16 kB / 1.362 GB, free: 416 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.319, allocations: 351.4 kB / 1.362 GB, free: 64 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3191, allocations: 103.8 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3193, allocations: 159 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.3199, allocations: 0.5251 MB / 1.363 GB, free: 15.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3199, allocations: 4 kB / 1.363 GB, free: 15.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3199, allocations: 0 / 1.363 GB, free: 15.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3199, allocations: 0 / 1.363 GB, free: 15.27 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.001265/0.3212, allocations: 0.7002 MB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3212, allocations: 8.031 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3222, allocations: 160.5 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.3229, allocations: 292.6 kB / 1.364 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3229, allocations: 8.375 kB / 1.364 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3229, allocations: 16.38 kB / 1.364 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.3235, allocations: 213.5 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3235, allocations: 0 / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3235, allocations: 4 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3235, allocations: 4 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007022/0.3242, allocations: 259.8 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.3253, allocations: 0.5736 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3257, allocations: 174.5 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.326, allocations: 140.8 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.3261, allocations: 15.98 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3261, allocations: 34.56 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3261, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001239/0.3273, allocations: 477.4 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3274, allocations: 51.41 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.3278, allocations: 425.8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3279, allocations: 29.7 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.328, allocations: 184 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.328, allocations: 35.7 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.3281, allocations: 41.69 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3283, allocations: 346.8 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.3287, allocations: 179.9 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.329, allocations: 175.9 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/0.3298, allocations: 367.8 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3298, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009406/0.3308, allocations: 0.4899 MB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.3308, allocations: 41.69 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3308, allocations: 0 / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3308, allocations: 0 / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.3312, allocations: 55.94 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3312, allocations: 3.938 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3314, allocations: 43.78 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.3315, allocations: 4 kB / 1.368 GB, free: 9.59 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 (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.0001594/0.3316, allocations: 162.3 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.3317, allocations: 43.75 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/0.3326, allocations: 364.7 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3326, allocations: 4 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3326, allocations: 0 / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3326, allocations: 7.875 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.333, allocations: 332.5 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.333, allocations: 4 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.3333, allocations: 43.89 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3333, allocations: 3.984 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3333, allocations: 8 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3333, allocations: 0 / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3333, allocations: 0 / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.3342, allocations: 439.8 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3343, allocations: 59.66 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.3343, allocations: 4 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.3346, allocations: 27.91 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3347, allocations: 19.91 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3347, allocations: 7.984 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002979/0.335, allocations: 299.1 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.335, allocations: 0 / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000455/0.3355, allocations: 115.8 kB / 1.37 GB, free: 7.609 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 (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.0003172/0.3358, allocations: 171 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.3367, allocations: 483.1 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3367, allocations: 0 / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.3371, allocations: 139.8 kB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3376, allocations: 69.53 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3387, allocations: 0.6918 MB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3391, allocations: 0.7944 MB / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.3392, allocations: 31.41 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3392, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of Templates: time 0.007669/0.3469, allocations: 5.031 MB / 1.377 GB, free: 172 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.704394969012355]