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.001564/0.001564, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00185/0.00185, allocations: 160 kB / 22.46 MB, free: 5.375 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.489/1.489, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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 2.992/2.992, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.004e-06/2.004e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.19e-05, allocations: 5.797 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003564/0.003596, allocations: 2.01 MB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005879/0.009475, allocations: 3.892 MB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.009643, allocations: 7.938 kB / 1.006 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.01053, allocations: 186 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.01072, allocations: 75.23 kB / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.01161, allocations: 299.2 kB / 1.006 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.01239, allocations: 406.6 kB / 1.007 GB, free: 404 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.01251, allocations: 32.56 kB / 1.007 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.01282, allocations: 159.6 kB / 1.007 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.01302, allocations: 103.7 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.01308, allocations: 19.98 kB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.01373, allocations: 311.5 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.01386, allocations: 107.7 kB / 1.008 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.014, allocations: 91.75 kB / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008501/0.01485, allocations: 0.5763 MB / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01485, allocations: 0 / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01486, allocations: 0 / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.01486, allocations: 0 / 1.008 GB, free: 15.01 MB / 0.9669 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.001535/0.0164, allocations: 0.6886 MB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01644, allocations: 8.031 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.01764, allocations: 164.5 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.01842, allocations: 307.8 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.01844, allocations: 8.375 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.01847, allocations: 8.375 kB / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.01908, allocations: 212.1 kB / 1.01 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.01909, allocations: 192 / 1.01 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.01912, allocations: 4.125 kB / 1.01 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.01912, allocations: 3.938 kB / 1.01 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.02001, allocations: 263.7 kB / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.02122, allocations: 0.5195 MB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.02174, allocations: 174.4 kB / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.02217, allocations: 136.8 kB / 1.011 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.779e-05/0.02225, allocations: 19.98 kB / 1.011 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.02229, allocations: 34.56 kB / 1.011 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.02229, allocations: 0 / 1.011 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001564/0.02385, allocations: 473.4 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.02391, allocations: 55.41 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.02443, allocations: 413.9 kB / 1.012 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.02446, allocations: 25.7 kB / 1.012 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.02464, allocations: 195.9 kB / 1.012 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.02469, allocations: 35.69 kB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.02479, allocations: 49.69 kB / 1.012 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.02498, allocations: 350.7 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.02549, allocations: 213.6 kB / 1.012 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.026, allocations: 217.6 kB / 1.013 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.02696, allocations: 372.6 kB / 1.013 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02696, allocations: 0 / 1.013 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001201/0.02816, allocations: 0.5278 MB / 1.013 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.02821, allocations: 45.69 kB / 1.013 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.02822, allocations: 0 / 1.013 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.02824, allocations: 12 kB / 1.014 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.02864, allocations: 47.88 kB / 1.014 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.02865, allocations: 0 / 1.014 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.02896, allocations: 47.8 kB / 1.014 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.02899, allocations: 4 kB / 1.014 GB, free: 9.238 MB / 0.9669 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.0002002/0.02919, allocations: 158.3 kB / 1.014 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.02927, allocations: 39.77 kB / 1.014 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.03041, allocations: 376.7 kB / 1.014 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.03041, allocations: 0 / 1.014 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.03042, allocations: 3.938 kB / 1.014 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.03042, allocations: 0 / 1.014 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.03081, allocations: 273 kB / 1.014 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.03081, allocations: 0 / 1.014 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.03117, allocations: 43.94 kB / 1.014 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.03118, allocations: 4 kB / 1.014 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.03121, allocations: 7.984 kB / 1.014 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.03121, allocations: 0 / 1.014 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.03121, allocations: 0 / 1.014 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.03227, allocations: 446.9 kB / 1.015 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.03241, allocations: 55.67 kB / 1.015 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.03246, allocations: 3.938 kB / 1.015 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.03278, allocations: 31.95 kB / 1.015 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.03285, allocations: 11.98 kB / 1.015 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.03288, allocations: 7.984 kB / 1.015 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000349/0.03323, allocations: 299.1 kB / 1.015 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.03323, allocations: 0 / 1.015 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004719/0.0337, allocations: 111.8 kB / 1.015 GB, free: 7.348 MB / 0.9669 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.0004178/0.03412, allocations: 179.1 kB / 1.016 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.03525, allocations: 480.8 kB / 1.016 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03525, allocations: 0 / 1.016 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.03573, allocations: 143.9 kB / 1.016 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.03625, allocations: 61.5 kB / 1.016 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.03753, allocations: 0.6309 MB / 1.017 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.03773, allocations: 175.2 kB / 1.017 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.03797, allocations: 65.86 kB / 1.017 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.03809, allocations: 28.48 kB / 1.017 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.03809, allocations: 0 / 1.017 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of Templates: time 0.01072/0.04881, allocations: 5.2 MB / 1.022 GB, free: 420 kB / 0.9669 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: 8.479691851884127]