Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 489.2 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 71.88 kB / 1.103 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.004, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002194/1.006, allocations: 0.6683 MB / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001068/1.007, allocations: 0.8091 MB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/1.007, allocations: 0 / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/1.007, allocations: 0 / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/1.008, allocations: 5.328 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/1.008, allocations: 13.48 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/1.008, allocations: 24.89 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/1.008, allocations: 8.891 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/1.008, allocations: 11.86 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/1.008, allocations: 9.391 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/1.008, allocations: 2.344 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/1.008, allocations: 1.719 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/1.008, allocations: 5.297 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/1.008, allocations: 11.66 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/1.008, allocations: 28.2 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.008, allocations: 0.7969 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.008, allocations: 0 / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.008, allocations: 4.844 kB / 1.264 GB, free: 6.918 MB / 0.9981 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.0004591/1.009, allocations: 331.6 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.009, allocations: 10.09 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/1.009, allocations: 5.766 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.009, allocations: 167.9 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/1.009, allocations: 5.141 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/1.009, allocations: 1.156 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/1.009, allocations: 53.56 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.009, allocations: 1.156 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.009, allocations: 3.938 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.009, allocations: 0.8125 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/1.009, allocations: 32.45 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/1.01, allocations: 250.5 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/1.01, allocations: 48.94 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/1.01, allocations: 23.11 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/1.01, allocations: 4.719 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/1.01, allocations: 36.11 kB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.01, allocations: 0 / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004074/1.011, allocations: 87.72 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/1.011, allocations: 56.81 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/1.011, allocations: 96.77 kB / 1.265 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.011, allocations: 26.45 kB / 1.265 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/1.011, allocations: 85.61 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/1.011, allocations: 5.453 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/1.011, allocations: 12.77 kB / 1.265 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/1.011, allocations: 321.3 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/1.011, allocations: 13.77 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/1.011, allocations: 18.7 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/1.011, allocations: 36.88 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.011, allocations: 3.938 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002153/1.011, allocations: 75 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.011, allocations: 8.781 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.012, allocations: 0 / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.012, allocations: 0.7812 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.012, allocations: 9 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.012, allocations: 0 / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/1.012, allocations: 6.484 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/1.012, allocations: 1.406 kB / 1.266 GB, free: 5.203 MB / 0.9981 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.657e-05/1.012, allocations: 120 kB / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/1.012, allocations: 2.219 kB / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/1.012, allocations: 66.53 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.012, allocations: 1.172 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.012, allocations: 0 / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.012, allocations: 1.359 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/1.012, allocations: 167 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.012, allocations: 0.7812 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/1.012, allocations: 9.438 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.012, allocations: 0 / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/1.012, allocations: 0.8125 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.012, allocations: 1.672 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.012, allocations: 0 / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/1.013, allocations: 170.1 kB / 1.266 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/1.013, allocations: 78.73 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/1.013, allocations: 1.609 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/1.013, allocations: 6.031 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/1.013, allocations: 2.547 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.013, allocations: 9.156 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.486e-05/1.013, allocations: 83.38 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.013, allocations: 0.8438 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002358/1.013, allocations: 7.5 kB / 1.267 GB, free: 4.508 MB / 0.9981 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.0001467/1.013, allocations: 102.1 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002387/1.013, allocations: 35.48 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.013, allocations: 1.125 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/1.014, allocations: 19.61 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/1.014, allocations: 11.55 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/1.014, allocations: 141.7 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/1.014, allocations: 0.6799 MB / 1.268 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/1.014, allocations: 12.28 kB / 1.268 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.014, allocations: 0.7188 kB / 1.268 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of Templates: time 0.002576/1.017, allocations: 0.5388 MB / 1.268 GB, free: 3.512 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.579531970899552]