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.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.002092/0.002092, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.002562/0.002562, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.513/1.513, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.959/2.959, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.00213/0.00213, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.037, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001962/1.038, allocations: 0.6716 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/1.039, allocations: 0.845 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/1.039, allocations: 0 / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/1.039, allocations: 4.656 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/1.04, allocations: 9.297 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/1.04, allocations: 13.98 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.816e-05/1.04, allocations: 28.17 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/1.04, allocations: 4.062 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/1.04, allocations: 10.23 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/1.04, allocations: 8.938 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/1.04, allocations: 1.375 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/1.04, allocations: 8.688 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/1.04, allocations: 5.969 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/1.04, allocations: 16 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/1.04, allocations: 27.09 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.04, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.114e-06/1.04, allocations: 1.406 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.04, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 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.0005061/1.041, allocations: 263.7 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.041, allocations: 10.12 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/1.041, allocations: 8.312 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/1.041, allocations: 104.9 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.041, allocations: 2 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/1.041, allocations: 9.438 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/1.041, allocations: 45.39 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.041, allocations: 192 / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.041, allocations: 9 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.041, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/1.042, allocations: 37.31 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/1.042, allocations: 190.7 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/1.042, allocations: 40.88 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/1.042, allocations: 22.61 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/1.042, allocations: 4.641 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/1.042, allocations: 33.53 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.042, allocations: 0 / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/1.042, allocations: 83.78 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/1.042, allocations: 56.88 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/1.043, allocations: 96 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/1.043, allocations: 31.39 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/1.043, allocations: 85.92 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/1.043, allocations: 4.891 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/1.043, allocations: 13.48 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/1.043, allocations: 317.2 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/1.043, allocations: 14.11 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/1.043, allocations: 19.05 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/1.043, allocations: 41.48 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.043, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/1.043, allocations: 70.97 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.043, allocations: 12.72 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.043, allocations: 0.6094 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.043, allocations: 1.156 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/1.043, allocations: 12.5 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.043, allocations: 0.6094 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/1.043, allocations: 6.406 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/1.043, allocations: 1.219 kB / 1.19 GB, free: 13.61 MB / 1.076 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.661e-05/1.043, allocations: 112.9 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/1.043, allocations: 5.094 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/1.044, allocations: 71.73 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.044, allocations: 4.781 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.044, allocations: 4 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.044, allocations: 1.25 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.128e-05/1.044, allocations: 107.7 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.044, allocations: 0.5156 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/1.044, allocations: 9.078 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.044, allocations: 5.156 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/1.044, allocations: 0 / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.044, allocations: 1.312 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.044, allocations: 0.6094 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/1.044, allocations: 167.3 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-06/1.044, allocations: 5.922 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/1.044, allocations: 1.953 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/1.044, allocations: 4.969 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/1.044, allocations: 7.188 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/1.044, allocations: 0.9062 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.235e-05/1.044, allocations: 84.3 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.044, allocations: 0 / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002119/1.044, allocations: 8.375 kB / 1.19 GB, free: 13.07 MB / 1.076 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 9.216e-05/1.044, allocations: 96.61 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002126/1.045, allocations: 34.47 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.045, allocations: 1.312 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/1.045, allocations: 19.42 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/1.045, allocations: 7.719 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/1.045, allocations: 109.2 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/1.045, allocations: 67.89 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.13e-05/1.045, allocations: 1.062 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/1.045, allocations: 10.25 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.045, allocations: 0 / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of Templates: time 0.002896/1.048, allocations: 471.2 kB / 1.191 GB, free: 12.68 MB / 1.076 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 -s ida -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/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: 9.262976038036868]