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.0008859/0.0008859, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009653/0.0009653, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8929/0.8929, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 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 1.687/1.687, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.652e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002486/0.002513, allocations: 2.005 MB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003995/0.006508, allocations: 3.892 MB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.006627, allocations: 11.88 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000833/0.00746, allocations: 179.1 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.007585, allocations: 75.23 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.008236, allocations: 307.2 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.008747, allocations: 398.6 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.00885, allocations: 36.55 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.009013, allocations: 155.6 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.009131, allocations: 107.7 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.009156, allocations: 16 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.009561, allocations: 307.5 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.009678, allocations: 115.6 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.009763, allocations: 87.77 kB / 1.008 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.01034, allocations: 0.5724 MB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01035, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01035, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.01035, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 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.0008966/0.01125, allocations: 0.6925 MB / 1.01 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.01129, allocations: 12.75 kB / 1.01 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.01182, allocations: 160.5 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.01231, allocations: 299.8 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.01232, allocations: 8.375 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.01253, allocations: 16.31 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.01286, allocations: 212.3 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.01286, allocations: 192 / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01289, allocations: 4.125 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01289, allocations: 4 kB / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.01329, allocations: 263.7 kB / 1.011 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.01401, allocations: 0.5117 MB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.01426, allocations: 186.3 kB / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.01447, allocations: 136.8 kB / 1.011 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.01452, allocations: 19.98 kB / 1.011 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.01454, allocations: 30.56 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.01454, allocations: 0 / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0007426/0.01528, allocations: 469.5 kB / 1.012 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.01531, allocations: 55.41 kB / 1.012 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.0156, allocations: 417.9 kB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.01562, allocations: 29.64 kB / 1.012 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.01571, allocations: 187.9 kB / 1.013 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.01575, allocations: 43.67 kB / 1.013 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.01581, allocations: 45.69 kB / 1.013 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.01591, allocations: 354.7 kB / 1.013 GB, free: 492 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.01615, allocations: 209.6 kB / 1.013 GB, free: 276 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.01638, allocations: 221.6 kB / 1.013 GB, free: 48 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.01685, allocations: 373 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01685, allocations: 4 kB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005537/0.01741, allocations: 0.5239 MB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.01745, allocations: 45.69 kB / 1.014 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01745, allocations: 4 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.01747, allocations: 0 / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01765, allocations: 51.88 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01765, allocations: 0 / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.01778, allocations: 43.8 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.0178, allocations: 8 kB / 1.014 GB, free: 14.97 MB / 0.9792 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.000122/0.01792, allocations: 161.8 kB / 1.015 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.01796, allocations: 35.75 kB / 1.015 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.01851, allocations: 368.7 kB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01851, allocations: 4 kB / 1.015 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01852, allocations: 0 / 1.015 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01852, allocations: 0 / 1.015 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.01875, allocations: 273 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01875, allocations: 4 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.01889, allocations: 43.94 kB / 1.015 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0189, allocations: 4 kB / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01891, allocations: 7.984 kB / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01891, allocations: 0 / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01891, allocations: 0 / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.0194, allocations: 442.9 kB / 1.016 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.01948, allocations: 51.73 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.01951, allocations: 7.984 kB / 1.016 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01963, allocations: 23.97 kB / 1.016 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.01969, allocations: 19.91 kB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.0197, allocations: 4 kB / 1.016 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002025/0.01991, allocations: 299.1 kB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.01991, allocations: 0 / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003337/0.02024, allocations: 115.8 kB / 1.016 GB, free: 13.09 MB / 0.9792 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.0002746/0.02051, allocations: 183 kB / 1.016 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005864/0.0211, allocations: 476.8 kB / 1.017 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0211, allocations: 0 / 1.017 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.02131, allocations: 148.9 kB / 1.017 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.02165, allocations: 73.52 kB / 1.017 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.02263, allocations: 0.6625 MB / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.02275, allocations: 175.2 kB / 1.018 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.02285, allocations: 32.48 kB / 1.018 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of SimCode: time 1.052e-06/0.02285, allocations: 0 / 1.018 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of Templates: time 0.006118/0.02897, allocations: 5.193 MB / 1.023 GB, free: 6.125 MB / 0.9792 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/jenkins/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: 6.806015705689788]