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.001882/0.001882, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.00234/0.00234, allocations: 173.5 kB / 22.46 MB, free: 5.355 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.75/2.75, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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 2.354e-06/2.354e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.674e-05, allocations: 4.812 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002443/0.00248, allocations: 0.6679 MB / 0.9517 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.004005, allocations: 0.847 MB / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.004056, allocations: 0 / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.004085, allocations: 3.938 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.004162, allocations: 0 / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.004377, allocations: 15.97 kB / 0.9525 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.00448, allocations: 27.92 kB / 0.9526 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004602, allocations: 4 kB / 0.9526 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.00469, allocations: 15.92 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.004746, allocations: 11.98 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.004763, allocations: 0 / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.004817, allocations: 4 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.004836, allocations: 3.984 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.004862, allocations: 8 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.005009, allocations: 39.77 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.005013, allocations: 0 / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.005015, allocations: 3.938 kB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.005022, allocations: 4 kB / 0.9527 GB, free: 9.852 MB / 0.8575 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.0005278/0.005549, allocations: 262.3 kB / 0.9529 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.005593, allocations: 8.031 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.005696, allocations: 0.9375 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.005832, allocations: 109.8 kB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.005848, allocations: 384 / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.005859, allocations: 4.375 kB / 0.953 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.006066, allocations: 46.23 kB / 0.9531 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.006077, allocations: 192 / 0.9531 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.006087, allocations: 8.375 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006092, allocations: 384 / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.006273, allocations: 39.83 kB / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.006643, allocations: 188.6 kB / 0.9533 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.006786, allocations: 38.59 kB / 0.9533 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.006875, allocations: 20.91 kB / 0.9533 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.006901, allocations: 4 kB / 0.9533 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.006935, allocations: 30.56 kB / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.006936, allocations: 0 / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004019/0.007338, allocations: 89.52 kB / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.007405, allocations: 51.41 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.007508, allocations: 105.8 kB / 0.9536 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.007541, allocations: 29.64 kB / 0.9536 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.007599, allocations: 84.08 kB / 0.9537 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.007621, allocations: 12.08 kB / 0.9537 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.007659, allocations: 13.72 kB / 0.9537 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.007814, allocations: 310.8 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.34e-05/0.007907, allocations: 23.97 kB / 0.9541 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.007982, allocations: 11.98 kB / 0.9541 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.00816, allocations: 40.77 kB / 0.9541 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008162, allocations: 4.062 kB / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.008371, allocations: 61.66 kB / 0.9542 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.008388, allocations: 10.81 kB / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.008397, allocations: 3.938 kB / 0.9542 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.008413, allocations: 0 / 0.9542 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.008515, allocations: 16.17 kB / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008521, allocations: 0 / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.008573, allocations: 7.953 kB / 0.9542 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00858, allocations: 8.016 kB / 0.9542 GB, free: 8.066 MB / 0.8575 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.514e-05/0.008675, allocations: 105.8 kB / 0.9543 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.008707, allocations: 7.984 kB / 0.9543 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.008962, allocations: 76.84 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008965, allocations: 3.938 kB / 0.9544 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.008972, allocations: 4 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.008974, allocations: 0 / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.009118, allocations: 109.3 kB / 0.9545 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.00912, allocations: 8.031 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.009185, allocations: 7.984 kB / 0.9545 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.009188, allocations: 0 / 0.9545 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009197, allocations: 0 / 0.9545 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.009201, allocations: 3.938 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009202, allocations: 4 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.009476, allocations: 159.5 kB / 0.9547 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.009483, allocations: 3.938 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.009499, allocations: 4.031 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.009579, allocations: 11.92 kB / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.009626, allocations: 4 kB / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.00963, allocations: 4 kB / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.009679, allocations: 83.22 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009679, allocations: 0 / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002278/0.009907, allocations: 7.953 kB / 0.9548 GB, free: 7.406 MB / 0.8575 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.0001493/0.01006, allocations: 95.23 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.0103, allocations: 35.97 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0103, allocations: 0 / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.01039, allocations: 19.98 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01072, allocations: 11.92 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.01111, allocations: 108.8 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.471e-05/0.01118, allocations: 55.36 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.0112, allocations: 4.125 kB / 0.9551 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.01124, allocations: 12.5 kB / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of SimCode: time 7.81e-07/0.01124, allocations: 0 / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.00317/0.01441, allocations: 470 kB / 0.9556 GB, free: 6.559 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.192329298704863]