Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001879/0.001879, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002242/0.002242, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8108 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.068e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004096/0.004127, allocations: 2.002 MB / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006565/0.01069, allocations: 3.898 MB / 0.8166 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.01082, allocations: 1.375 kB / 0.8166 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.01186, allocations: 184.8 kB / 0.8167 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.01207, allocations: 69.55 kB / 0.8168 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.01293, allocations: 316.6 kB / 0.8171 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.01369, allocations: 398.7 kB / 0.8175 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.01382, allocations: 36.5 kB / 0.8175 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.0141, allocations: 159.6 kB / 0.8177 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.0143, allocations: 100.8 kB / 0.8178 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.01434, allocations: 16.5 kB / 0.8178 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006221/0.01496, allocations: 316 kB / 0.8181 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01511, allocations: 107.7 kB / 0.8182 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.01526, allocations: 100.2 kB / 0.8183 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.01615, allocations: 0.5657 MB / 0.8188 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.01616, allocations: 3.984 kB / 0.8188 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01616, allocations: 0 / 0.8188 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.01617, allocations: 0.9062 kB / 0.8188 GB, free: 8.734 MB / 0.7292 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.00155/0.01772, allocations: 0.6991 MB / 0.8195 GB, free: 8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01776, allocations: 8.031 kB / 0.8195 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.01827, allocations: 82.66 kB / 0.8196 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.01924, allocations: 302.1 kB / 0.8199 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.01926, allocations: 12.31 kB / 0.8199 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.01928, allocations: 5.406 kB / 0.8199 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.01988, allocations: 199.1 kB / 0.8201 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01989, allocations: 0.7812 kB / 0.8201 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.01992, allocations: 8.125 kB / 0.8201 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.01992, allocations: 1.469 kB / 0.8201 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.02073, allocations: 244.9 kB / 0.8204 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.02186, allocations: 0.5044 MB / 0.8208 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.02236, allocations: 170.5 kB / 0.821 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.02278, allocations: 130.4 kB / 0.8211 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.02284, allocations: 19.98 kB / 0.8212 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.02288, allocations: 42.56 kB / 0.8212 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.02288, allocations: 0 / 0.8212 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001464/0.02435, allocations: 445.2 kB / 0.8216 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.0244, allocations: 51.41 kB / 0.8217 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.02495, allocations: 425.9 kB / 0.8221 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.02499, allocations: 25.7 kB / 0.8221 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.02516, allocations: 184 kB / 0.8223 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.02521, allocations: 35.7 kB / 0.8223 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.02531, allocations: 41.62 kB / 0.8223 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.02553, allocations: 354.7 kB / 0.8227 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.02605, allocations: 209.6 kB / 0.8229 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.02656, allocations: 211.2 kB / 0.8231 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.0275, allocations: 360.2 kB / 0.8234 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.0275, allocations: 0 / 0.8234 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001222/0.02872, allocations: 0.52 MB / 0.8239 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.02878, allocations: 41.69 kB / 0.824 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.02879, allocations: 0 / 0.824 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.02881, allocations: 0 / 0.824 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.02916, allocations: 47.95 kB / 0.824 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.02917, allocations: 0 / 0.824 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.02944, allocations: 39.84 kB / 0.8241 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.02946, allocations: 7.938 kB / 0.8241 GB, free: 3.191 MB / 0.7292 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.0002012/0.02966, allocations: 157.8 kB / 0.8242 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.02975, allocations: 39.75 kB / 0.8243 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.03081, allocations: 356.7 kB / 0.8246 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.03081, allocations: 0 / 0.8246 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.03082, allocations: 4 kB / 0.8246 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.03082, allocations: 3.984 kB / 0.8246 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.03121, allocations: 261.1 kB / 0.8249 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.03121, allocations: 0 / 0.8249 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.03152, allocations: 47.88 kB / 0.8249 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.03153, allocations: 4 kB / 0.8249 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.03154, allocations: 0 / 0.8249 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.03155, allocations: 0 / 0.8249 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03155, allocations: 0 / 0.8249 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.03256, allocations: 435.7 kB / 0.8253 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.0327, allocations: 55.67 kB / 0.8254 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.03274, allocations: 0 / 0.8254 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.03303, allocations: 35.95 kB / 0.8254 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.03311, allocations: 11.98 kB / 0.8254 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.03313, allocations: 7.984 kB / 0.8254 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000368/0.0335, allocations: 299.1 kB / 0.8257 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.0335, allocations: 0 / 0.8257 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004993/0.03399, allocations: 115.8 kB / 0.8258 GB, free: 1.332 MB / 0.7292 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.0004057/0.0344, allocations: 187 kB / 0.826 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.03555, allocations: 460.8 kB / 0.8264 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03555, allocations: 0 / 0.8264 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.03599, allocations: 143.8 kB / 0.8266 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.03675, allocations: 78.5 kB / 0.8267 GB, free: 472 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.03801, allocations: 0.6197 MB / 0.8273 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.03823, allocations: 187.1 kB / 0.8274 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.03843, allocations: 53.91 kB / 0.8275 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.03854, allocations: 28.48 kB / 0.8275 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.03854, allocations: 0 / 0.8275 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.01123/0.04978, allocations: 5.107 MB / 0.8325 GB, free: 10.52 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.065288449986838]