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.0009289/0.0009289, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009987/0.0009987, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9769/0.9769, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.769/1.769, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] 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 2.194e-06/2.194e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.808e-05, allocations: 6.531 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003116/0.003144, allocations: 1.556 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.004144, allocations: 480.5 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.004242, allocations: 4 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.004279, allocations: 3.938 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.004367, allocations: 14.08 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.004685, allocations: 39.83 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.004832, allocations: 55.78 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.00495, allocations: 7.984 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.005157, allocations: 41.84 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.005239, allocations: 23.91 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.005262, allocations: 4 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.005315, allocations: 4 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.005332, allocations: 7.984 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.005361, allocations: 16.66 kB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.0055, allocations: 47.75 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005503, allocations: 0.5312 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005505, allocations: 1.656 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.00551, allocations: 0 / 0.7898 GB, free: 9.902 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.0004749/0.005985, allocations: 392.4 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.00603, allocations: 8.031 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.006204, allocations: 21.53 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.006354, allocations: 129.6 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.006365, allocations: 384 / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.006372, allocations: 1.531 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.006492, allocations: 58.94 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.0065, allocations: 4.188 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006509, allocations: 1.75 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.00652, allocations: 3.938 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.569e-05/0.006545, allocations: 7.938 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.006843, allocations: 254.1 kB / 0.7906 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.006909, allocations: 31.05 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006933, allocations: 15.75 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.006949, allocations: 0 / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.00698, allocations: 50.5 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.006981, allocations: 0 / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.007146, allocations: 53.7 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.007176, allocations: 52.75 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.007278, allocations: 177.9 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.007291, allocations: 25.7 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.007351, allocations: 141.8 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.007373, allocations: 11.89 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.007409, allocations: 15.38 kB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.007553, allocations: 0.4923 MB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.007573, allocations: 4 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.007589, allocations: 7.938 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.007628, allocations: 15.67 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00763, allocations: 0 / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.269e-05/0.007713, allocations: 46.14 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.007729, allocations: 15.88 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.007734, allocations: 1.938 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.007746, allocations: 0 / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.007815, allocations: 4 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007819, allocations: 0 / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.007849, allocations: 11.98 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007855, allocations: 2.594 kB / 0.7918 GB, free: 7.691 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 7.584e-05/0.007931, allocations: 160.5 kB / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.007956, allocations: 3.953 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.007987, allocations: 15.94 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007989, allocations: 0 / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.00799, allocations: 0 / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.007995, allocations: 4.828 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.008131, allocations: 101.2 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008132, allocations: 0.8438 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.008172, allocations: 11.98 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008174, allocations: 1.281 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.008179, allocations: 0 / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.008181, allocations: 0 / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.008183, allocations: 3.938 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.008326, allocations: 196.7 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.00834, allocations: 11.94 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.008351, allocations: 4.969 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.008408, allocations: 4 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.008442, allocations: 7.938 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.008448, allocations: 5.391 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.008507, allocations: 141.3 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008507, allocations: 0 / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002195/0.008727, allocations: 5 kB / 0.7924 GB, free: 6.977 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 9.686e-05/0.008824, allocations: 96.31 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.008903, allocations: 19.67 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.008906, allocations: 4 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.00893, allocations: 17.08 kB / 0.7926 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.009149, allocations: 4 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.009723, allocations: 184.7 kB / 0.7927 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.009765, allocations: 55.36 kB / 0.7928 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.009799, allocations: 12.5 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.009854, allocations: 71.55 kB / 0.7929 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.009855, allocations: 0 / 0.7929 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.00257/0.01243, allocations: 0.5081 MB / 0.7934 GB, free: 5.969 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.833652025554329]