Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001937/0.001937, allocations: 79.7 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.002669/0.002669, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.96/2.96, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.313e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002929/0.002962, allocations: 1.542 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.004015, allocations: 481.1 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.004078, allocations: 5.062 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.004107, allocations: 3.938 kB / 0.7884 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.004179, allocations: 12.45 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.004442, allocations: 37.23 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.004595, allocations: 55.72 kB / 0.7885 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.004699, allocations: 11.98 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.00487, allocations: 38.88 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.004949, allocations: 19.97 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.004969, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.005017, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.00504, allocations: 15.92 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.005073, allocations: 11.94 kB / 0.7886 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.005216, allocations: 51.8 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005219, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00522, allocations: 1.25 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005225, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006253/0.00585, allocations: 388.7 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.005891, allocations: 8.031 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.006123, allocations: 29.39 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.006333, allocations: 130.1 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.006346, allocations: 384 / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.006359, allocations: 8.312 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006532, allocations: 46.88 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006543, allocations: 192 / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.006552, allocations: 1.062 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.006561, allocations: 7.938 kB / 0.7892 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.00668, allocations: 36.59 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.007103, allocations: 281.1 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.007237, allocations: 43.05 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.007306, allocations: 25.14 kB / 0.7896 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.007326, allocations: 0 / 0.7896 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.007377, allocations: 41.33 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.007378, allocations: 1.812 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003222/0.0077, allocations: 81.7 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.007748, allocations: 55.41 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.007905, allocations: 188.3 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.007928, allocations: 27.23 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.008017, allocations: 138.9 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.008047, allocations: 15.88 kB / 0.7901 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.008095, allocations: 19.38 kB / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002613/0.008356, allocations: 498.5 kB / 0.7906 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.008414, allocations: 15.98 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.008464, allocations: 20.02 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.008578, allocations: 43.61 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.00858, allocations: 0 / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000155/0.008735, allocations: 63.55 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.008756, allocations: 8 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.008763, allocations: 3.984 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.008777, allocations: 0 / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.008866, allocations: 8.5 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.008871, allocations: 0 / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.008914, allocations: 5.812 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.008925, allocations: 3.984 kB / 0.7908 GB, free: 8.172 MB / 0.7448 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 0.0001146/0.009039, allocations: 156.6 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.009071, allocations: 11.89 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.0091, allocations: 10.34 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.009101, allocations: 0 / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009107, allocations: 7.938 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.009109, allocations: 3.938 kB / 0.7909 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.009287, allocations: 128.6 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.00929, allocations: 4 kB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.009349, allocations: 4.531 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009351, allocations: 0.7188 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.009367, allocations: 7.938 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009368, allocations: 1.156 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009369, allocations: 0 / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.009619, allocations: 215.9 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.009631, allocations: 4.609 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.009649, allocations: 8.656 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.009717, allocations: 0 / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.009757, allocations: 0.8438 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.009763, allocations: 7.984 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.598e-05/0.009859, allocations: 145 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009859, allocations: 3.938 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002094/0.01007, allocations: 11.95 kB / 0.7915 GB, free: 7.395 MB / 0.7448 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 (3): * Single equations (assignments): 3 * 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.0001307/0.0102, allocations: 97.44 kB / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.01037, allocations: 36.45 kB / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01038, allocations: 5 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.01044, allocations: 23.67 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01066, allocations: 6.75 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.01109, allocations: 167.5 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.01118, allocations: 72.58 kB / 0.7918 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.01122, allocations: 3.984 kB / 0.7918 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.01126, allocations: 14.34 kB / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01126, allocations: 0 / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.00332/0.01458, allocations: 486.6 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.2499878059607]