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.001916/0.001916, allocations: 106.4 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002231/0.002231, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.632/1.632, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.399/3.399, allocations: 0.4899 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 72.77 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4003, allocations: 176.1 MB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002188/0.4025, allocations: 0.6739 MB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.4038, allocations: 0.8475 MB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.4038, allocations: 0 / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.4039, allocations: 7.922 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.4039, allocations: 4 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.4042, allocations: 15.94 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.4042, allocations: 19.92 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4043, allocations: 19.91 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.4044, allocations: 8 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.4045, allocations: 15.92 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4045, allocations: 0 / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.4045, allocations: 8 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.4045, allocations: 0 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.4046, allocations: 11.94 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.4047, allocations: 31.88 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4047, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4047, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4047, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 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.0005272/0.4052, allocations: 343.4 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4053, allocations: 15.98 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.4054, allocations: 0.9375 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4055, allocations: 164.3 kB / 1.323 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4055, allocations: 4.375 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.4055, allocations: 384 / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.4057, allocations: 54.17 kB / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4057, allocations: 192 / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4058, allocations: 7.938 kB / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4058, allocations: 0 / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.4059, allocations: 35.95 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.4063, allocations: 248.9 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.4065, allocations: 38.48 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4066, allocations: 28.84 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.4066, allocations: 3.938 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.4066, allocations: 38.56 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4066, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.407, allocations: 77.73 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.407, allocations: 55.44 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.4071, allocations: 105.8 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4072, allocations: 29.69 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.4072, allocations: 80.14 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4072, allocations: 3.953 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.4073, allocations: 17.72 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4074, allocations: 310.8 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.4075, allocations: 23.91 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.4076, allocations: 19.98 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4077, allocations: 36.83 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4077, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002298/0.408, allocations: 69.66 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.408, allocations: 8 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.408, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.408, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.4081, allocations: 7.984 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4081, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.4082, allocations: 7.938 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4082, allocations: 7.938 kB / 1.325 GB, free: 15.04 MB / 1.029 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 8.899e-05/0.4082, allocations: 121.8 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.4083, allocations: 3.953 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.4085, allocations: 72.78 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4085, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4085, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4085, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4087, allocations: 157.6 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4087, allocations: 3.984 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.4088, allocations: 12.03 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4088, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.4088, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4088, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4088, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.4091, allocations: 163.4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.4091, allocations: 85.12 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4091, allocations: 8 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.4092, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4092, allocations: 7.984 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.4092, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.4093, allocations: 83.22 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4093, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002186/0.4095, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 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.0001432/0.4096, allocations: 99.25 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.4099, allocations: 47.89 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4099, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.41, allocations: 11.98 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4103, allocations: 10.28 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.4106, allocations: 117.4 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4109, allocations: 0.6845 MB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.4109, allocations: 0 / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.411, allocations: 7.438 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.411, allocations: 0 / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Templates: time 0.003026/0.414, allocations: 436 kB / 1.327 GB, free: 12.77 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.554988840594888]