Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009309/0.0009309, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.002017, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007584/0.0007584, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009154/0.001674, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9357/0.9357, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09747/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4961/2.354, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.569e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001141/0.001156, allocations: 0.7343 MB / 0.7304 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000706/0.001863, allocations: 0.8693 MB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.001887, allocations: 1.844 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.001907, allocations: 0 / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.001938, allocations: 9.469 kB / 0.7313 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.948e-05/0.002017, allocations: 16.69 kB / 0.7313 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.002084, allocations: 26.64 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.002161, allocations: 13.09 kB / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.002247, allocations: 17.41 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.002289, allocations: 4.859 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.002305, allocations: 4 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.872e-05/0.002363, allocations: 8 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.002381, allocations: 5.312 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.505e-05/0.002396, allocations: 5.156 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.635e-05/0.002493, allocations: 19.36 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.002505, allocations: 0 / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002505, allocations: 0 / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.002518, allocations: 0 / 0.7314 GB, free: 2.641 MB / 0.698 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.0003581/0.002876, allocations: 238.2 kB / 0.7316 GB, free: 2.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.002908, allocations: 12.56 kB / 0.7316 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.003024, allocations: 78.05 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.003102, allocations: 115.5 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.003111, allocations: 384 / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.003122, allocations: 4.375 kB / 0.7318 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.003212, allocations: 46.95 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003218, allocations: 5.875 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.003224, allocations: 4.375 kB / 0.7319 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003229, allocations: 1.906 kB / 0.7319 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.003248, allocations: 11.88 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.003421, allocations: 144.3 kB / 0.732 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.003462, allocations: 18.58 kB / 0.7321 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.003474, allocations: 9.766 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.003487, allocations: 0 / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.003505, allocations: 37.06 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.003506, allocations: 0 / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 8.851e-05/0.003595, allocations: 43.39 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.00362, allocations: 55.34 kB / 0.7322 GB, free: 1.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.394e-05/0.003664, allocations: 102.7 kB / 0.7323 GB, free: 1.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.003672, allocations: 25.7 kB / 0.7323 GB, free: 1.566 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.003698, allocations: 88.62 kB / 0.7324 GB, free: 1.477 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.003712, allocations: 8.984 kB / 0.7324 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.003733, allocations: 13.72 kB / 0.7324 GB, free: 1.449 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.003799, allocations: 314.8 kB / 0.7327 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.003806, allocations: 0.625 kB / 0.7327 GB, free: 1.133 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-06/0.003813, allocations: 4 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.003832, allocations: 13.92 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.003833, allocations: 0 / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.869e-05/0.003872, allocations: 47.58 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.003882, allocations: 4.531 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.003886, allocations: 0 / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.003897, allocations: 0.9375 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.003954, allocations: 11.92 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.003956, allocations: 4.594 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.003972, allocations: 4.797 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-06/0.003975, allocations: 0 / 0.7328 GB, free: 1.039 MB / 0.698 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 4.343e-05/0.004018, allocations: 110.3 kB / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.004029, allocations: 2.047 kB / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.00409, allocations: 48.94 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.004091, allocations: 0 / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.004093, allocations: 4.719 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004095, allocations: 0 / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.313e-05/0.004168, allocations: 71.12 kB / 0.733 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004169, allocations: 0 / 0.733 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.004189, allocations: 4.766 kB / 0.733 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.004194, allocations: 7.953 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004195, allocations: 1.156 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.004199, allocations: 0 / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.0042, allocations: 3.984 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.004203, allocations: 9.172 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.585e-05/0.004259, allocations: 131.5 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-06/0.004265, allocations: 1.688 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.004293, allocations: 3.984 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.004318, allocations: 4 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.004321, allocations: 4.531 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.989e-06/0.004331, allocations: 14.39 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004331, allocations: 0 / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001047/0.004436, allocations: 4.766 kB / 0.7332 GB, free: 0.5742 MB / 0.698 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 6.287e-05/0.004498, allocations: 77.62 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.189e-05/0.00455, allocations: 13.84 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.004554, allocations: 0 / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.004571, allocations: 9.766 kB / 0.7333 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.004719, allocations: 38.27 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.005253, allocations: 126.7 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.677e-05/0.00528, allocations: 57.14 kB / 0.7335 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.307e-05/0.005293, allocations: 0 / 0.7335 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.005335, allocations: 52.75 kB / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.005335, allocations: 0 / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of Templates: time 0.001822/0.007158, allocations: 463.8 kB / 0.734 GB, free: 15.71 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.86524467356503]