Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.0009909/0.0009909, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009976/0.0009976, allocations: 169 kB / 24.28 MB, free: 276 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.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.896/1.896, allocations: 359 MB / 0.6055 GB, free: 11 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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.498e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001996/0.002031, allocations: 0.6745 MB / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003219, allocations: 0.8681 MB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.003263, allocations: 0 / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.003294, allocations: 5.031 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.003368, allocations: 7.922 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.00358, allocations: 17.8 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.722e-05/0.003667, allocations: 23.92 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.003765, allocations: 4 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.003856, allocations: 15.98 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.003896, allocations: 7.984 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.003913, allocations: 4.656 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.003971, allocations: 11.92 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.003989, allocations: 4.781 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.004012, allocations: 4 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.004125, allocations: 21.23 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004129, allocations: 4 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.91e-07/0.00413, allocations: 0 / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.004136, allocations: 3.984 kB / 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.0006894/0.004825, allocations: 358 kB / 0.7891 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.004871, allocations: 8.031 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.004996, allocations: 12.83 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.005101, allocations: 105.7 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005114, allocations: 4.375 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.005124, allocations: 384 / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.005277, allocations: 64.38 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005286, allocations: 192 / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005299, allocations: 4.359 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.005307, allocations: 2.031 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.005346, allocations: 7.938 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.005663, allocations: 243.8 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.396e-05/0.005717, allocations: 35.03 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.005738, allocations: 12.34 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.005756, allocations: 0.9375 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.005777, allocations: 33.39 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005778, allocations: 0 / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.005929, allocations: 47.19 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.00596, allocations: 59.39 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.006031, allocations: 157.9 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.006041, allocations: 27.42 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.006081, allocations: 126.9 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.006098, allocations: 11.88 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.006126, allocations: 27.36 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.006236, allocations: 492.1 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.00625, allocations: 6.531 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.00626, allocations: 0 / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.006295, allocations: 11.69 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.006296, allocations: 0 / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.391e-05/0.00635, allocations: 41.69 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.006365, allocations: 10.66 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.006371, allocations: 3.938 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006383, allocations: 0.7188 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.006458, allocations: 8.469 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.006463, allocations: 0 / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.006483, allocations: 13.48 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.006487, allocations: 0 / 0.7906 GB, free: 8.969 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 5.916e-05/0.006546, allocations: 152.6 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.00656, allocations: 12.47 kB / 0.7908 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.006646, allocations: 46.25 kB / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006648, allocations: 0 / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.00665, allocations: 0 / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006653, allocations: 0 / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.096e-05/0.006744, allocations: 121.7 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006745, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.006774, allocations: 4 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006775, allocations: 1.375 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.006781, allocations: 4 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.006784, allocations: 7.938 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006785, allocations: 3.938 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.006873, allocations: 189.7 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.006878, allocations: 4 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.006888, allocations: 0 / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.006921, allocations: 8.812 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.006955, allocations: 3.984 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.006957, allocations: 0 / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.006991, allocations: 130.7 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006991, allocations: 0 / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001396/0.007131, allocations: 4 kB / 0.7913 GB, free: 8.227 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.169e-05/0.007223, allocations: 95.23 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.357e-05/0.007306, allocations: 19.62 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007308, allocations: 0 / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.007325, allocations: 12.19 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.007528, allocations: 9.938 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.008029, allocations: 122.2 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.008069, allocations: 57.48 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.008087, allocations: 336 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.008116, allocations: 8.5 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.008116, allocations: 0 / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.002166/0.01028, allocations: 489.4 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.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.239375540986657]