Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001069/0.001069, 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.001021/0.001021, 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.9435/0.9435, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.723/1.723, allocations: 359 MB / 0.6055 GB, free: 10.9 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.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.917e-05, allocations: 4.469 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001073/0.001092, allocations: 0.6745 MB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.001784, allocations: 0.86 MB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.00181, allocations: 0 / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.001831, allocations: 4.656 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.001887, allocations: 3.938 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.002083, allocations: 12.83 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.002157, allocations: 27.92 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.002251, allocations: 4.734 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.002322, allocations: 15.98 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.00235, allocations: 5.25 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.002361, allocations: 0 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.002395, allocations: 7.938 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.002409, allocations: 17.55 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.072e-05/0.00242, allocations: 0 / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.002488, allocations: 23.91 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.00249, allocations: 4 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002491, allocations: 0 / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002494, allocations: 1.219 kB / 0.7893 GB, free: 10.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002551/0.002749, allocations: 352.7 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.00278, allocations: 8.656 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.002847, allocations: 12.89 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.708e-05/0.002904, allocations: 110 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.002912, allocations: 4.375 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.002917, allocations: 384 / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.002999, allocations: 50.95 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.003004, allocations: 1.031 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.003009, allocations: 384 / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.003013, allocations: 0.9375 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.003031, allocations: 16.55 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.003204, allocations: 232.4 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.003237, allocations: 31.97 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.109e-05/0.003249, allocations: 7.688 kB / 0.79 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.003265, allocations: 8.672 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.003281, allocations: 39.11 kB / 0.7901 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003282, allocations: 0 / 0.7901 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001469/0.003429, allocations: 45.53 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.00345, allocations: 53 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.00351, allocations: 165.9 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.003518, allocations: 25.7 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.00355, allocations: 130.9 kB / 0.7905 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.003562, allocations: 3.953 kB / 0.7905 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.003583, allocations: 16.34 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.003677, allocations: 0.4884 MB / 0.791 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.003684, allocations: 3.281 kB / 0.791 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.003691, allocations: 4 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.003715, allocations: 27.61 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003716, allocations: 0 / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.813e-05/0.003754, allocations: 33.7 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.003763, allocations: 4 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.003766, allocations: 0 / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.003774, allocations: 4.656 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.003824, allocations: 7.984 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003826, allocations: 0.5312 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.003841, allocations: 5.094 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.003844, allocations: 0 / 0.7911 GB, free: 8.438 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 (2): * Single equations (assignments): 2 * 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 4.871e-05/0.003893, allocations: 156.6 kB / 0.7912 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.003903, allocations: 0.5938 kB / 0.7912 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.003964, allocations: 49.47 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.003966, allocations: 5.312 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003967, allocations: 0 / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.003969, allocations: 0 / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.539e-05/0.004045, allocations: 101.2 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004045, allocations: 1.156 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.004061, allocations: 4 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004063, allocations: 0 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.004066, allocations: 4.875 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004068, allocations: 7.984 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.004068, allocations: 1.562 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.616e-05/0.004134, allocations: 187.9 kB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-06/0.004139, allocations: 4 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-06/0.004145, allocations: 0 / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.81e-05/0.004173, allocations: 5.328 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.004193, allocations: 4 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.004195, allocations: 3.938 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.004224, allocations: 134.6 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004224, allocations: 0 / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001244/0.004348, allocations: 0 / 0.7917 GB, free: 7.727 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 (2): * Single equations (assignments): 2 * 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 5.377e-05/0.004402, allocations: 95.25 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.352e-05/0.004445, allocations: 15.67 kB / 0.7918 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.004447, allocations: 0 / 0.7918 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.004461, allocations: 15.62 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.004618, allocations: 8.672 kB / 0.7918 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/0.004783, allocations: 119.3 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.617e-05/0.004809, allocations: 55.86 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.00482, allocations: 1.406 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.004857, allocations: 70.2 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.004858, allocations: 0 / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of Templates: time 0.001636/0.006494, allocations: 0.5209 MB / 0.7926 GB, free: 6.789 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.72550666378811]