Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009662/0.0009662, allocations: 76.31 kB / 21.47 MB, free: 3.039 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.001275/0.001275, allocations: 171.2 kB / 24.87 MB, free: 9.258 MB / 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 1.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.137 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.031/2.031, allocations: 377.9 MB / 0.6247 GB, free: 8.445 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 3.938 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.72e-05, allocations: 4.078 kB / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001425/0.001453, allocations: 0.673 MB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.00228, allocations: 0.86 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.002316, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.002341, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.002408, allocations: 7.938 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.002577, allocations: 12.62 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.002642, allocations: 30.33 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.002726, allocations: 0 / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.002797, allocations: 19.92 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.002832, allocations: 7.984 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.002845, allocations: 4 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.002886, allocations: 7.938 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.002902, allocations: 4 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.202e-05/0.002914, allocations: 1.562 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.002996, allocations: 31.84 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.002999, allocations: 3.984 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003, allocations: 0 / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003004, allocations: 0.6562 kB / 0.8145 GB, free: 15.74 MB / 0.7761 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.0002932/0.003297, allocations: 353.2 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.003335, allocations: 8.031 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.003416, allocations: 10.03 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.003492, allocations: 108.6 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.003505, allocations: 4.375 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.00351, allocations: 1.75 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/0.003604, allocations: 58.94 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.003611, allocations: 192 / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.003617, allocations: 1.531 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.003623, allocations: 384 / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.003645, allocations: 11.88 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.003855, allocations: 229.4 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.35e-05/0.003899, allocations: 35.09 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.003911, allocations: 8.594 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.003923, allocations: 0 / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.003943, allocations: 38.48 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.003944, allocations: 0 / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001161/0.00406, allocations: 46.88 kB / 0.8153 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.004088, allocations: 51.41 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.004152, allocations: 165.9 kB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.004161, allocations: 25.7 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.0042, allocations: 132.8 kB / 0.8157 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.004216, allocations: 3.953 kB / 0.8157 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.004241, allocations: 19.31 kB / 0.8157 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.004355, allocations: 0.4923 MB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.004366, allocations: 0 / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.004376, allocations: 5.688 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.0044, allocations: 19.62 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004401, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.077e-05/0.004452, allocations: 38.59 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.004463, allocations: 4 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004467, allocations: 0.5312 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.004477, allocations: 4.469 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.004532, allocations: 4 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.004534, allocations: 0.5312 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.00455, allocations: 5.188 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.004553, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 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 5.742e-05/0.004611, allocations: 160.6 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.004626, allocations: 0.5312 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.004691, allocations: 49.78 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004694, allocations: 3.938 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.004695, allocations: 0.8438 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004698, allocations: 192 / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.844e-05/0.004786, allocations: 98.5 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.004788, allocations: 3.984 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.004811, allocations: 7.984 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004812, allocations: 0.8438 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-06/0.004816, allocations: 0 / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004817, allocations: 4 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004818, allocations: 1.094 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.483e-05/0.004903, allocations: 187.8 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.004909, allocations: 9.359 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.004917, allocations: 0 / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.004947, allocations: 4 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.004973, allocations: 5.406 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.004977, allocations: 3.938 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.005011, allocations: 131.2 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005011, allocations: 4 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000135/0.005146, allocations: 2.938 kB / 0.8169 GB, free: 12.98 MB / 0.7761 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 8.801e-05/0.005234, allocations: 99.19 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.339e-05/0.005307, allocations: 11.69 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005308, allocations: 0 / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.005328, allocations: 19.61 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.005519, allocations: 8.438 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.005751, allocations: 118.9 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.005784, allocations: 55.8 kB / 0.8172 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.005799, allocations: 1.312 kB / 0.8172 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.005844, allocations: 70.2 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.005844, allocations: 0 / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.002055/0.0079, allocations: 0.5182 MB / 0.8178 GB, free: 12.05 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.4042928968556225]