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.0009697/0.0009697, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001067/0.001067, allocations: 161 kB / 23.82 MB, free: 0.7539 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.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.449 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.783/1.783, allocations: 359 MB / 0.6052 GB, free: 11.03 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 2.985e-06/2.985e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.195e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001481/0.001513, allocations: 0.6835 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.002394, allocations: 0.867 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.002426, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.002455, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.002524, allocations: 20.92 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.002705, allocations: 7.984 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.002774, allocations: 25.48 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.002868, allocations: 4 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.002935, allocations: 11.98 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.304e-05/0.002968, allocations: 7.938 kB / 0.7888 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.002983, allocations: 4.875 kB / 0.7888 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.003027, allocations: 8 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.003042, allocations: 7.969 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.003061, allocations: 8.844 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.003161, allocations: 15.92 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003163, allocations: 6.406 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003164, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003168, allocations: 0 / 0.7888 GB, free: 10.77 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.0003255/0.003494, allocations: 356.7 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.003532, allocations: 15.97 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.003625, allocations: 8.828 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.003698, allocations: 110.4 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.003709, allocations: 384 / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.00372, allocations: 4.375 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.003847, allocations: 50.95 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.003855, allocations: 192 / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.003864, allocations: 0.9688 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.003871, allocations: 5.688 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.003901, allocations: 11.86 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.004182, allocations: 243.8 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.004232, allocations: 36.8 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.004253, allocations: 11.72 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.004272, allocations: 0 / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.004292, allocations: 41.45 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.004294, allocations: 1.219 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.004432, allocations: 45.53 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.00446, allocations: 51.41 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.004531, allocations: 163.9 kB / 0.7899 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.00454, allocations: 25.7 kB / 0.7899 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.004584, allocations: 130.9 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.004601, allocations: 3.953 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.004626, allocations: 23.38 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.004754, allocations: 498.7 kB / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.00477, allocations: 0 / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.004783, allocations: 4 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.004819, allocations: 15.69 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004821, allocations: 3.938 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.245e-05/0.004873, allocations: 34.23 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.004887, allocations: 7.984 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.004893, allocations: 4.656 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.004909, allocations: 4.531 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.004985, allocations: 4 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.004991, allocations: 1.656 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.005007, allocations: 0 / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005013, allocations: 4 kB / 0.7906 GB, free: 8.684 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.817e-05/0.005081, allocations: 165.1 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.005095, allocations: 0 / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.43e-05/0.005189, allocations: 53.66 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005191, allocations: 0 / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.005195, allocations: 1.156 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005198, allocations: 4 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.005318, allocations: 116.6 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.00532, allocations: 1.375 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.005352, allocations: 7.984 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005354, allocations: 0 / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005361, allocations: 0.8438 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.005364, allocations: 3.938 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005365, allocations: 0 / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.005481, allocations: 200.7 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.005489, allocations: 5.219 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.0055, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.005551, allocations: 7.938 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.005591, allocations: 7.984 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.005595, allocations: 4.844 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.005642, allocations: 119.2 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.005642, allocations: 1.219 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000245/0.005887, allocations: 4 kB / 0.7913 GB, free: 7.93 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.54e-05/0.005983, allocations: 96.56 kB / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/0.006078, 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.683e-06/0.006079, allocations: 1.656 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.0061, 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.0002767/0.006377, allocations: 7.938 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.006884, allocations: 125 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.006919, allocations: 55.34 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.006935, allocations: 0 / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.006963, allocations: 12.5 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.006964, allocations: 0.5 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.002471/0.009435, allocations: 485.1 kB / 0.7921 GB, free: 7.094 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.2090913113206625]