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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 110 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 186.2 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.261/3.261, allocations: 0.4893 GB / 0.7884 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 70.69 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3923, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002171/0.3944, allocations: 0.6742 MB / 1.317 GB, free: 9.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3955, allocations: 0.8239 MB / 1.318 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.3956, allocations: 0 / 1.318 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3956, allocations: 3.938 kB / 1.318 GB, free: 8.164 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.3957, allocations: 3.938 kB / 1.318 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.3959, allocations: 11.98 kB / 1.318 GB, free: 8.148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9e-05/0.396, allocations: 23.92 kB / 1.318 GB, free: 8.125 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3961, allocations: 4 kB / 1.318 GB, free: 8.121 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.3961, allocations: 11.92 kB / 1.318 GB, free: 8.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.3962, allocations: 11.98 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3962, allocations: 4 kB / 1.318 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.3962, allocations: 4 kB / 1.318 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3962, allocations: 4 kB / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3963, allocations: 11.92 kB / 1.318 GB, free: 8.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.3964, allocations: 23.84 kB / 1.318 GB, free: 8.051 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3964, allocations: 4 kB / 1.318 GB, free: 8.047 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3964, allocations: 0 / 1.318 GB, free: 8.047 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3964, allocations: 0 / 1.318 GB, free: 8.047 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.0005463/0.3969, allocations: 256.5 kB / 1.318 GB, free: 7.766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.397, allocations: 8.031 kB / 1.318 GB, free: 7.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.397, allocations: 12.89 kB / 1.318 GB, free: 7.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3972, allocations: 106.5 kB / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3972, allocations: 384 / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3972, allocations: 8.312 kB / 1.318 GB, free: 7.609 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3974, allocations: 46.23 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3974, allocations: 192 / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3974, allocations: 7.938 kB / 1.318 GB, free: 7.551 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3974, allocations: 0 / 1.318 GB, free: 7.551 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3976, allocations: 35.95 kB / 1.318 GB, free: 7.516 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.398, allocations: 212.1 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3981, allocations: 42.44 kB / 1.318 GB, free: 7.215 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.3982, allocations: 28.89 kB / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3982, allocations: 4 kB / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3983, allocations: 34.5 kB / 1.318 GB, free: 7.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3983, allocations: 0 / 1.318 GB, free: 7.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.3986, allocations: 81.59 kB / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3987, allocations: 51.41 kB / 1.319 GB, free: 6.988 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3988, allocations: 101.9 kB / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3988, allocations: 33.7 kB / 1.319 GB, free: 6.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.3988, allocations: 88.12 kB / 1.319 GB, free: 6.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.3989, allocations: 3.953 kB / 1.319 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3989, allocations: 17.66 kB / 1.319 GB, free: 6.723 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3991, allocations: 314.8 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.3991, allocations: 11.98 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.3992, allocations: 23.97 kB / 1.319 GB, free: 6.371 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.3993, allocations: 36.83 kB / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3993, allocations: 0 / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.3995, allocations: 69.59 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3995, allocations: 4 kB / 1.319 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3995, allocations: 3.984 kB / 1.319 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3996, allocations: 12.03 kB / 1.319 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.3996, allocations: 7.984 kB / 1.319 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3996, allocations: 0 / 1.319 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3997, allocations: 7.938 kB / 1.319 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3997, allocations: 0 / 1.319 GB, free: 6.223 MB / 1.014 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 9.754e-05/0.3998, allocations: 114.7 kB / 1.319 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3998, allocations: 3.984 kB / 1.319 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.4, allocations: 72.97 kB / 1.319 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4, allocations: 8.188 kB / 1.319 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4001, allocations: 0 / 1.319 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4001, allocations: 3.984 kB / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4002, allocations: 132.7 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4002, allocations: 0 / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.4003, allocations: 15.92 kB / 1.32 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4003, allocations: 0 / 1.32 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.4003, allocations: 0 / 1.32 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4003, allocations: 4.031 kB / 1.32 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4003, allocations: 0 / 1.32 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.4006, allocations: 167.4 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.4006, allocations: 3.938 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.4006, allocations: 0 / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.4006, allocations: 8.016 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4007, allocations: 8 kB / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.4007, allocations: 0 / 1.32 GB, free: 5.613 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.4007, allocations: 87.27 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4007, allocations: 0 / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002011/0.4009, allocations: 4 kB / 1.32 GB, free: 5.523 MB / 1.014 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.0001361/0.4011, allocations: 91.78 kB / 1.32 GB, free: 5.422 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.4013, allocations: 47.89 kB / 1.32 GB, free: 5.375 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4013, allocations: 0 / 1.32 GB, free: 5.375 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.4014, allocations: 19.98 kB / 1.32 GB, free: 5.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4017, allocations: 13.44 kB / 1.32 GB, free: 5.344 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.402, allocations: 102.2 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4024, allocations: 0.6769 MB / 1.321 GB, free: 4.516 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.4024, allocations: 8 kB / 1.321 GB, free: 4.508 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.4024, allocations: 7.438 kB / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.4024, allocations: 0 / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of Templates: time 0.002933/0.4053, allocations: 444.4 kB / 1.321 GB, free: 4.066 MB / 1.014 GB " [Timeout remaining time 300] 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 -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/jenkins/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.041728561744094]