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.001385/0.001385, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.0016/0.0016, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.699/2.699, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 63.89 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3097, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003043/0.3128, allocations: 1.526 MB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3138, allocations: 462.9 kB / 1.119 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.3138, allocations: 0 / 1.119 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.3139, allocations: 3.938 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.3139, allocations: 11.86 kB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3142, allocations: 43.89 kB / 1.119 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3143, allocations: 47.8 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.3144, allocations: 11.98 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3145, allocations: 35.84 kB / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.3146, allocations: 15.92 kB / 1.12 GB, free: 408 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3146, allocations: 4 kB / 1.12 GB, free: 404 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.3146, allocations: 8 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3146, allocations: 11.92 kB / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.3147, allocations: 23.86 kB / 1.12 GB, free: 360 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3148, allocations: 51.69 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3148, allocations: 4 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3148, allocations: 0 / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3148, allocations: 0 / 1.12 GB, free: 304 kB / 1.061 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.0005145/0.3153, allocations: 289.1 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3154, allocations: 12.03 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.3156, allocations: 28.84 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3158, allocations: 130.3 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3158, allocations: 4.375 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3159, allocations: 4.375 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.316, allocations: 55.17 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.316, allocations: 3.938 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.316, allocations: 0 / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.316, allocations: 4 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3162, allocations: 39.84 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3165, allocations: 216.6 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3167, allocations: 38.56 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.3167, allocations: 24.94 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3168, allocations: 0 / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3168, allocations: 38.5 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3168, allocations: 0 / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0003341/0.3171, allocations: 85.59 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3172, allocations: 51.41 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3173, allocations: 129.8 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3174, allocations: 25.7 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.3174, allocations: 96.09 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3174, allocations: 11.88 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.3175, allocations: 17.72 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3176, allocations: 310.8 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3177, allocations: 19.98 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3178, allocations: 15.98 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.318, allocations: 48.77 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.318, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001892/0.3181, allocations: 77.61 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3182, allocations: 7.938 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3182, allocations: 0 / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3182, allocations: 0 / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3183, allocations: 11.98 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3183, allocations: 0 / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.3183, allocations: 4 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3184, allocations: 8 kB / 1.121 GB, free: 14.35 MB / 1.076 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.188e-05/0.3184, allocations: 113.8 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.3185, allocations: 19.81 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.3185, allocations: 8 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3185, allocations: 336 / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3185, allocations: 0 / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3185, allocations: 4 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3187, allocations: 121.2 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3187, allocations: 0 / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.3188, allocations: 11.98 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3188, allocations: 4 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3188, allocations: 3.938 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3188, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3188, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3191, allocations: 167.5 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.3191, allocations: 8 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3191, allocations: 3.938 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.3192, allocations: 7.984 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3192, allocations: 3.938 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3192, allocations: 4 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.3193, allocations: 99.27 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3193, allocations: 0 / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002305/0.3195, allocations: 12 kB / 1.122 GB, free: 13.71 MB / 1.076 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.0001153/0.3196, allocations: 99.23 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.3198, allocations: 35.97 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3198, allocations: 0 / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.3199, allocations: 23.98 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3201, allocations: 8.719 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.3205, allocations: 188.4 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.3206, allocations: 71.33 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.3206, allocations: 0 / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.3207, allocations: 12.5 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3207, allocations: 4 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of Templates: time 0.00272/0.3234, allocations: 441.1 kB / 1.123 GB, free: 12.79 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.505307107931003]