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.00193/0.00193, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.001955/0.001955, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.621/1.621, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] 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.164e-06/2.164e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.704e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001734/0.001761, allocations: 0.6762 MB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002882, allocations: 0.8566 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.002908, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.002935, allocations: 1.406 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.002995, allocations: 11.88 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.003135, allocations: 7.984 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.003199, allocations: 24.78 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.003265, allocations: 3.984 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.003325, allocations: 8 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.003361, allocations: 12.55 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.003376, allocations: 4.906 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.251e-05/0.003419, allocations: 7.984 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.003432, allocations: 3.938 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.003452, allocations: 8.641 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.003546, allocations: 29.09 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.00355, allocations: 4 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003551, allocations: 0 / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.003554, allocations: 0 / 0.7881 GB, free: 11.11 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.0004322/0.003986, allocations: 362 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.004017, allocations: 8.031 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/0.004108, allocations: 12.83 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.004214, allocations: 104.6 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.004223, allocations: 1.594 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.00423, allocations: 4.375 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.004358, allocations: 42.25 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004365, allocations: 0.875 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.004372, allocations: 1.969 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.004375, allocations: 4.312 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.004491, allocations: 35.84 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.004812, allocations: 243.9 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.004921, allocations: 39.95 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.004979, allocations: 19.09 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.004997, allocations: 0 / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.005029, allocations: 41.39 kB / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.00503, allocations: 0 / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002707/0.005301, allocations: 73.5 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.005341, allocations: 51.41 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.00546, allocations: 161.9 kB / 0.7892 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.005481, allocations: 30.42 kB / 0.7892 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.005558, allocations: 134.9 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.005571, allocations: 5.609 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.00561, allocations: 19.38 kB / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002583/0.005868, allocations: 0.4884 MB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.005922, allocations: 8 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.005971, allocations: 16.92 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.006073, allocations: 33.14 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006075, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001446/0.006219, allocations: 55.03 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.006233, allocations: 4 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006238, allocations: 3.938 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.006248, allocations: 0 / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.006315, allocations: 9.391 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006321, allocations: 4 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.006352, allocations: 0 / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.006356, allocations: 0.5312 kB / 0.79 GB, free: 8.926 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 0.0001036/0.00646, allocations: 158.2 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.006482, allocations: 0 / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.006671, allocations: 68.86 kB / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006673, allocations: 5 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.006675, allocations: 0 / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.006677, allocations: 0 / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.006829, allocations: 117.2 kB / 0.7903 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00683, allocations: 0.5312 kB / 0.7903 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.006874, allocations: 7.938 kB / 0.7903 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.006879, allocations: 5.219 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006886, allocations: 7.984 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.006889, allocations: 4.594 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00689, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.007125, allocations: 213.8 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.007135, allocations: 7.938 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.007144, allocations: 0 / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.007209, allocations: 11.92 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.007236, allocations: 1.156 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.007242, allocations: 4 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.00731, allocations: 119.2 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00731, allocations: 0.8125 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002036/0.007514, allocations: 8 kB / 0.7907 GB, free: 8.137 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.0001168/0.007631, allocations: 100.2 kB / 0.7908 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.007782, allocations: 33.02 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007784, allocations: 0 / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.007853, allocations: 24.58 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.00808, allocations: 13.41 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.008358, allocations: 114.3 kB / 0.791 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.008431, allocations: 63.34 kB / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.008451, allocations: 0 / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.008478, allocations: 11.94 kB / 0.7911 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.008478, allocations: 0 / 0.7911 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.002894/0.01137, allocations: 480.4 kB / 0.7915 GB, free: 7.277 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.070031165028922]