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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00133/0.001331, allocations: 105.4 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.721/2.721, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 66.98 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3235, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002859/0.3264, allocations: 1.565 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.3271, allocations: 403.1 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.3272, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.3272, allocations: 7.984 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.3273, allocations: 15.86 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.3275, allocations: 19.92 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.3276, allocations: 47.86 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3277, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.3278, allocations: 31.84 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.3279, allocations: 23.91 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3279, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3279, allocations: 7.938 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.3279, allocations: 4 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.328, allocations: 23.86 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.312e-05/0.328, allocations: 28.22 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.328, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3281, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3281, allocations: 3.938 kB / 1.066 GB, free: 12.88 MB / 0.8419 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.0005504/0.3286, allocations: 363.2 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3287, allocations: 12.03 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.3287, allocations: 8.844 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3289, allocations: 172.3 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3289, allocations: 384 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3289, allocations: 4.375 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3291, allocations: 61.92 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3291, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3291, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3291, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3293, allocations: 35.97 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3297, allocations: 276.8 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3298, allocations: 38.5 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.3299, allocations: 32.88 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3299, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.33, allocations: 34.56 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.33, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003263/0.3303, allocations: 89.62 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3304, allocations: 51.41 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3305, allocations: 121.8 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3305, allocations: 25.7 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.3306, allocations: 92.05 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3306, allocations: 15.83 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3306, allocations: 13.72 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3308, allocations: 318.8 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.3309, allocations: 15.98 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.3309, allocations: 15.98 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3311, allocations: 44.83 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3311, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001803/0.3313, allocations: 77.56 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3313, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3313, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3313, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3314, allocations: 15.92 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3314, allocations: 7.984 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.3315, allocations: 8 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3315, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8419 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 9.476e-05/0.3316, allocations: 117.8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3316, allocations: 3.984 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.3317, allocations: 11.91 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3317, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3317, allocations: 3.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3317, allocations: 4 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3319, allocations: 173.6 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3319, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.332, allocations: 7.984 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.332, allocations: 3.938 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.332, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.332, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.332, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3323, allocations: 175.3 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.3323, allocations: 88.95 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3324, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.3324, allocations: 7.984 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3325, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3325, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.3326, allocations: 95.27 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3326, allocations: 0 / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002149/0.3328, allocations: 8 kB / 1.069 GB, free: 9.941 MB / 0.8419 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.0001286/0.3329, allocations: 103.2 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.3331, allocations: 39.97 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3331, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.3332, allocations: 24.39 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3334, allocations: 8.703 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.3339, allocations: 194.1 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3342, allocations: 0.6807 MB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3343, allocations: 15.42 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3343, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.002229/0.3365, allocations: 0.7146 MB / 1.071 GB, free: 8.113 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches