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.0009148/0.0009148, allocations: 87.58 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.000941/0.000941, allocations: 161 kB / 23.82 MB, free: 0.75 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.9319/0.9319, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.8/1.8, allocations: 359 MB / 0.6052 GB, free: 10.98 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 5.53e-06/5.53e-06, allocations: 3.984 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.159e-05/4.712e-05, allocations: 9.469 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002274/0.002322, allocations: 0.6699 MB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003526, allocations: 0.8682 MB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.003571, allocations: 4 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.00361, allocations: 3.938 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.0037, allocations: 4.953 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.00395, allocations: 15.92 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.004049, allocations: 27.86 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004163, allocations: 4.562 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.004259, allocations: 16.67 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.004301, allocations: 4 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.00432, allocations: 0.9062 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.756e-05/0.004377, allocations: 7.938 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.004402, allocations: 12.62 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.004426, allocations: 7.938 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004556, allocations: 17.64 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.00456, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/0.004562, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.004567, allocations: 4 kB / 0.7888 GB, free: 10.71 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.0004362/0.005003, allocations: 358.2 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.005056, allocations: 8.031 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.005206, allocations: 12.88 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.005309, allocations: 108.6 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.005324, allocations: 3.812 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.005337, allocations: 4.375 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.005495, allocations: 58.89 kB / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.005504, allocations: 192 / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.005516, allocations: 384 / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.005532, allocations: 4.125 kB / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.00557, allocations: 7.984 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.005912, allocations: 239.9 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.005982, allocations: 35 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.006005, allocations: 8.406 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.006027, allocations: 8.984 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.00606, allocations: 33.39 kB / 0.7897 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.006062, allocations: 3.938 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.006248, allocations: 47.5 kB / 0.7897 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.006286, allocations: 51.41 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.006377, allocations: 161.9 kB / 0.7899 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006389, allocations: 29.7 kB / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.006442, allocations: 132.1 kB / 0.7901 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.006465, allocations: 3.953 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.006506, allocations: 19.38 kB / 0.7901 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.006665, allocations: 0.489 MB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.006685, allocations: 4 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.006697, allocations: 0.7812 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.006735, allocations: 12.66 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.006738, allocations: 0 / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.347e-05/0.006821, allocations: 38.67 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.006838, allocations: 11.94 kB / 0.7906 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006845, allocations: 1.344 kB / 0.7906 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.006862, allocations: 3.984 kB / 0.7906 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.006965, allocations: 7.938 kB / 0.7906 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.006972, allocations: 0 / 0.7906 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.006999, allocations: 8.562 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.007006, allocations: 0.5625 kB / 0.7907 GB, free: 8.625 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 8.622e-05/0.007092, allocations: 153.5 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.007118, allocations: 7.984 kB / 0.7908 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007241, allocations: 45.98 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007243, allocations: 0 / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.007248, allocations: 3.984 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.007253, allocations: 1.219 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.007381, allocations: 116.6 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.007383, allocations: 0 / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.007429, allocations: 13.53 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.007432, allocations: 0 / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.00744, allocations: 0 / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.007446, allocations: 11.88 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007448, allocations: 0.5312 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.007573, allocations: 192.6 kB / 0.7912 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.007585, allocations: 8.531 kB / 0.7912 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.007599, allocations: 3.938 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.007655, allocations: 4.688 kB / 0.7912 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.007702, allocations: 4 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.007706, allocations: 0.8125 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.007752, allocations: 131.2 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007752, allocations: 0.9375 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002462/0.007998, allocations: 4 kB / 0.7913 GB, free: 7.871 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 0.0001264/0.008125, allocations: 92.47 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.008235, allocations: 20.47 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.008238, allocations: 0 / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.008262, allocations: 17.89 kB / 0.7915 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.008559, allocations: 4 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.009162, allocations: 125.3 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.009209, allocations: 59.34 kB / 0.7916 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.009232, allocations: 0 / 0.7916 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.009266, allocations: 8.5 kB / 0.7916 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.009267, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.002928/0.01219, allocations: 0.4911 MB / 0.7921 GB, free: 7.027 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.025176029186696]