Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 198.8 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.89 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.0032/0.3302, allocations: 1.572 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.331, allocations: 418.9 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.3311, allocations: 0 / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.3312, allocations: 3.938 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.3313, allocations: 3.938 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.3315, allocations: 23.97 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3316, allocations: 47.73 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3317, allocations: 15.98 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3318, allocations: 23.92 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.3319, allocations: 19.92 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.332, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.332, allocations: 4 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.332, allocations: 11.92 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.3321, allocations: 19.86 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.224e-05/0.3321, allocations: 24.23 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3321, allocations: 0 / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3322, allocations: 4 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3322, allocations: 4 kB / 1.055 GB, free: 6.062 MB / 0.8106 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.0005699/0.3327, allocations: 363.3 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3328, allocations: 11.97 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3329, allocations: 4.938 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.333, allocations: 176.2 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.333, allocations: 384 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3331, allocations: 384 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3333, allocations: 65.98 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3333, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3333, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3333, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.3334, allocations: 31.97 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.3339, allocations: 284.7 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3341, allocations: 46.56 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.3341, allocations: 28.88 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3342, allocations: 3.984 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3342, allocations: 34.5 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3342, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003363/0.3345, allocations: 97.58 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.3346, allocations: 51.41 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.3347, allocations: 113.8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3347, allocations: 29.7 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.3348, allocations: 92.03 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3348, allocations: 7.906 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3349, allocations: 17.72 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.335, allocations: 322.8 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.3351, allocations: 15.98 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.3351, allocations: 19.98 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3353, allocations: 40.83 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3353, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001707/0.3354, allocations: 73.52 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3355, allocations: 12 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3355, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3355, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3356, allocations: 11.98 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3356, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.3357, allocations: 4 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3357, allocations: 7.984 kB / 1.057 GB, free: 3.91 MB / 0.8106 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 8.412e-05/0.3358, allocations: 109.8 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3358, allocations: 4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.3359, allocations: 11.91 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3359, allocations: 4 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3359, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3359, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3361, allocations: 173.6 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3361, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.3361, allocations: 8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3361, allocations: 0 / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3362, allocations: 3.984 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3362, allocations: 7.875 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3362, allocations: 4 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.3364, allocations: 171.4 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.3364, allocations: 88.94 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3365, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.3366, allocations: 0 / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3366, allocations: 7.984 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.3366, allocations: 7.938 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.3367, allocations: 91.7 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3367, allocations: 0 / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002184/0.3369, allocations: 12 kB / 1.057 GB, free: 3.117 MB / 0.8106 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.0001071/0.337, allocations: 99.25 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3372, allocations: 36.28 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3372, allocations: 0 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.3373, allocations: 28.08 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3375, allocations: 9.656 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.3379, allocations: 196.8 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3382, allocations: 0.6887 MB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3382, allocations: 11.38 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3382, allocations: 0 / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of Templates: time 0.002172/0.3404, allocations: 0.6977 MB / 1.059 GB, free: 1.297 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches