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.001087/0.001087, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001043/0.001043, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.989/0.989, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.827/1.827, allocations: 359 MB / 0.6052 GB, free: 10.99 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 2.274e-06/2.274e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.258e-05, allocations: 7.156 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001566/0.001599, allocations: 0.6793 MB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000938/0.002537, allocations: 0.8643 MB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.002571, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.002597, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.00266, allocations: 8.5 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.002851, allocations: 16.69 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.002924, allocations: 27.92 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.003013, allocations: 0.9062 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.003085, allocations: 11.98 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.00312, allocations: 8 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.003136, allocations: 4.656 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.734e-05/0.003184, allocations: 15.86 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.003201, allocations: 5.594 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.003222, allocations: 3.984 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.003328, allocations: 19.98 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003331, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003332, allocations: 3.438 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.003338, allocations: 0 / 0.7888 GB, free: 10.76 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.0003489/0.003687, allocations: 352.7 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.003727, allocations: 8.031 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.003832, allocations: 12.89 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.003918, allocations: 116.4 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.003929, allocations: 4.375 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.003938, allocations: 384 / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.00408, allocations: 55.59 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004087, allocations: 192 / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.0041, allocations: 4.969 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.004108, allocations: 384 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.004139, allocations: 9.562 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.004451, allocations: 239.8 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.815e-05/0.004509, allocations: 39.03 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.004532, allocations: 12.88 kB / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.004547, allocations: 0 / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.004569, allocations: 33.39 kB / 0.7896 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.004571, allocations: 4.797 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001513/0.004722, allocations: 49.53 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.004756, allocations: 56.06 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.004832, allocations: 159.1 kB / 0.7899 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.004845, allocations: 25.7 kB / 0.7899 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.0049, allocations: 130.9 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.004924, allocations: 3.953 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.004955, allocations: 24.08 kB / 0.7901 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.005092, allocations: 497.3 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.005112, allocations: 4 kB / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.005125, allocations: 0 / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.00516, allocations: 13.22 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.005162, allocations: 0 / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.789e-05/0.00523, allocations: 45.62 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.005245, allocations: 8.562 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.005252, allocations: 3.938 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.005265, allocations: 1.375 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.00534, allocations: 4 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.005345, allocations: 0 / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.005364, allocations: 12.61 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005369, allocations: 0 / 0.7906 GB, free: 8.668 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 6.63e-05/0.005435, allocations: 158.5 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.005448, allocations: 0 / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.005542, allocations: 52.88 kB / 0.7908 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005545, allocations: 0 / 0.7908 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.005548, allocations: 0.5625 kB / 0.7908 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005551, allocations: 4.656 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.205e-05/0.005643, allocations: 124.6 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.005645, allocations: 1.219 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.005672, allocations: 4 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005675, allocations: 0 / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.005682, allocations: 4.625 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.005684, allocations: 3.938 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005685, allocations: 0.5312 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.437e-05/0.00578, allocations: 185.1 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.005786, allocations: 4 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.005796, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.005826, allocations: 8.875 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.005864, allocations: 3.984 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005867, allocations: 0.8438 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.005901, allocations: 123.2 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005901, allocations: 0 / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001319/0.006033, allocations: 14.16 kB / 0.7913 GB, free: 7.926 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 9.571e-05/0.006129, allocations: 91.25 kB / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.358e-05/0.006212, allocations: 19.67 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.006214, allocations: 2.781 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.00623, allocations: 11.69 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.006429, allocations: 4 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.006695, allocations: 118.2 kB / 0.7915 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.006731, allocations: 59.34 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.006747, allocations: 5.406 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.006774, allocations: 8.5 kB / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.006775, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.002191/0.008966, allocations: 0.5123 MB / 0.7921 GB, free: 7.062 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: 5.024546805769205]