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.0009336/0.0009336, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0009007/0.0009007, allocations: 181 kB / 24.09 MB, free: 412 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 0.9597/0.9597, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.765/1.765, allocations: 359 MB / 0.6055 GB, free: 10.86 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.276e-06/3.276e-06, allocations: 0 / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.97e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001413/0.001443, allocations: 0.6826 MB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.002379, allocations: 0.8722 MB / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.002415, allocations: 0 / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.002447, allocations: 0.75 kB / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.002519, allocations: 4 kB / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.002685, allocations: 12.67 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.00274, allocations: 27.92 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.018e-05/0.00282, allocations: 4.547 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.00289, allocations: 16.86 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.002923, allocations: 11.98 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.002937, allocations: 4 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.437e-05/0.002981, allocations: 9.188 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.002995, allocations: 0 / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.003009, allocations: 4 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.596e-05/0.003095, allocations: 25.38 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003098, allocations: 0 / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.203e-06/0.003099, allocations: 0 / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003103, allocations: 0 / 0.7893 GB, free: 10.42 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.0003093/0.003412, allocations: 361.8 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.003452, allocations: 12.03 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.003532, allocations: 4.891 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.003598, allocations: 113.2 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003607, allocations: 384 / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-06/0.003611, allocations: 1.781 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.003706, allocations: 62.92 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003712, allocations: 192 / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.003717, allocations: 1.219 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003722, allocations: 4.375 kB / 0.7898 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.003741, allocations: 3.938 kB / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.00395, allocations: 229.4 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.994e-05/0.00399, allocations: 35.03 kB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.004003, allocations: 12.31 kB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.00402, allocations: 1.188 kB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.004038, allocations: 33.39 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004039, allocations: 3.062 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001116/0.00415, allocations: 49.53 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.004176, allocations: 55.41 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.004243, allocations: 161.9 kB / 0.7903 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.004258, allocations: 25.7 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.004302, allocations: 126.9 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.004319, allocations: 3.953 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.004349, allocations: 23.38 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.004464, allocations: 496.8 kB / 0.791 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.004475, allocations: 4 kB / 0.791 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.004483, allocations: 1.656 kB / 0.791 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.004508, allocations: 19.61 kB / 0.791 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00451, allocations: 0 / 0.791 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.88e-05/0.004559, allocations: 39.39 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.004573, allocations: 7.984 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004579, allocations: 4 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.004589, allocations: 3.938 kB / 0.7911 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.004651, allocations: 5.219 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004654, allocations: 0 / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.004672, allocations: 11.94 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.004678, allocations: 5.594 kB / 0.7911 GB, free: 8.348 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.277e-05/0.004741, allocations: 156.6 kB / 0.7912 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.004754, allocations: 4 kB / 0.7912 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.004824, allocations: 42.69 kB / 0.7913 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.004827, allocations: 3.938 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.004829, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004832, allocations: 4 kB / 0.7913 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/0.004917, allocations: 93.22 kB / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.004919, allocations: 8.844 kB / 0.7914 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.004946, allocations: 7.984 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004948, allocations: 0.5312 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.004952, allocations: 0.625 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004952, allocations: 0 / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004953, allocations: 0.5312 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.005036, allocations: 189.2 kB / 0.7916 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.005044, allocations: 7.984 kB / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.005051, allocations: 0 / 0.7916 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.005082, allocations: 4.531 kB / 0.7916 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.005107, allocations: 1.562 kB / 0.7916 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.00511, allocations: 3.938 kB / 0.7916 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.005152, allocations: 131.2 kB / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005152, allocations: 0 / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001302/0.005283, allocations: 5.156 kB / 0.7917 GB, free: 7.641 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 8.475e-05/0.005367, allocations: 96.22 kB / 0.7918 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.52e-05/0.005423, allocations: 19.67 kB / 0.7918 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005424, allocations: 0.8125 kB / 0.7918 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.00544, allocations: 15.67 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.005617, allocations: 12.88 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.005971, allocations: 115.6 kB / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.006004, allocations: 63.28 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.006019, allocations: 0.875 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.006065, allocations: 76.36 kB / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.006065, allocations: 0 / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.002287/0.008352, allocations: 0.5131 MB / 0.7926 GB, free: 6.695 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: 4.787476558238268]