Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001171/0.001171, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001193/0.001193, allocations: 169.3 kB / 24.28 MB, free: 280 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 1.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.822/1.822, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.694e-05, allocations: 4.844 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001235/0.001262, allocations: 0.6824 MB / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000887/0.002149, allocations: 0.8593 MB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.002185, allocations: 0.5625 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.002213, allocations: 0 / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.002281, allocations: 4.719 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.002491, allocations: 15.92 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.00257, allocations: 24.92 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.002668, allocations: 8 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.002744, allocations: 17.81 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.002779, allocations: 4 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.002795, allocations: 0 / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.002838, allocations: 7.938 kB / 0.7887 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.002856, allocations: 11.92 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002874, allocations: 4.531 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/0.002974, allocations: 23.97 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002977, allocations: 1.094 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.002978, allocations: 0 / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.002984, allocations: 0 / 0.7888 GB, free: 11.06 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.0003664/0.00335, allocations: 357.3 kB / 0.7891 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.0034, allocations: 14.75 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.003517, allocations: 4.891 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.00361, allocations: 116.5 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003621, allocations: 384 / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.00363, allocations: 4.375 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.003745, allocations: 50.95 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003751, allocations: 4.125 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.00376, allocations: 5.875 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.00377, allocations: 8.109 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.0038, allocations: 7.984 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.004071, allocations: 243.8 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.004122, allocations: 35.62 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.004145, allocations: 8.5 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.004162, allocations: 0 / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.004182, allocations: 38.3 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.004183, allocations: 0 / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.004329, allocations: 50.91 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.004358, allocations: 51.41 kB / 0.7897 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.004428, allocations: 161.9 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.00444, allocations: 31.52 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.004485, allocations: 126.9 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.004501, allocations: 3.953 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.004533, allocations: 23.38 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.004649, allocations: 496.1 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.004661, allocations: 1.531 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-06/0.004671, allocations: 4 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.004697, allocations: 17.59 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.0047, allocations: 0 / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.064e-05/0.00475, allocations: 41.62 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.004763, allocations: 7.938 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.004769, allocations: 4 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.004781, allocations: 2.562 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.004838, allocations: 4 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.004844, allocations: 0 / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.004861, allocations: 4 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.004864, allocations: 0 / 0.7906 GB, free: 8.977 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.244e-05/0.004927, allocations: 160.6 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.00494, allocations: 4.531 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.005017, allocations: 45.66 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.00502, allocations: 4 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.005024, allocations: 0.5312 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.005028, allocations: 1.625 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.005114, allocations: 112.6 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.005115, allocations: 3.938 kB / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.005136, allocations: 7.984 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005137, allocations: 0.5938 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005144, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.005146, allocations: 8.625 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.005149, allocations: 4 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.286e-05/0.005242, allocations: 188.6 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.005247, allocations: 1.031 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.005256, allocations: 4 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.005285, allocations: 3.938 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.00532, allocations: 13.05 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.005322, allocations: 0 / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.005355, allocations: 123.8 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005355, allocations: 0 / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000133/0.005488, allocations: 0.9688 kB / 0.7913 GB, free: 8.238 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 7.744e-05/0.005566, allocations: 100 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.206e-05/0.005638, allocations: 15.67 kB / 0.7914 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.00564, allocations: 5.594 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.005657, allocations: 11.69 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.005838, allocations: 4 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.006104, allocations: 125.3 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.006145, allocations: 51.36 kB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.006162, allocations: 7.984 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.006188, allocations: 12.44 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.006189, allocations: 0 / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of Templates: time 0.001957/0.008146, allocations: 480.8 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.0723502691835165]