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.000859/0.000859, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008373/0.0008373, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.9127/0.9127, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.176e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001299/0.001331, allocations: 0.6639 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000765/0.002096, allocations: 0.8392 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.002128, allocations: 4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002156, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.002216, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.0024, allocations: 19.92 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.002465, allocations: 19.94 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.002557, allocations: 11.98 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.002625, allocations: 11.98 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.002656, allocations: 7.984 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.00267, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.979e-05/0.00271, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.002725, allocations: 7.938 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.002742, allocations: 7.984 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002845, allocations: 27.91 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002847, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.021e-06/0.002848, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002853, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 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.0003489/0.003201, allocations: 262.3 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.003244, allocations: 8.75 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.003334, allocations: 0.9375 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.003431, allocations: 113.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.003443, allocations: 384 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.003452, allocations: 8.375 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.003582, allocations: 46.17 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.003591, allocations: 16.12 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.003601, allocations: 4.375 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.003605, allocations: 384 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.003694, allocations: 35.89 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.00395, allocations: 188.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/0.004028, allocations: 38.56 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.004073, allocations: 28.84 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.004092, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.004116, allocations: 34.55 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004117, allocations: 4 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002193/0.004336, allocations: 81.55 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.004365, allocations: 51.41 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.00442, allocations: 101.8 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.00443, allocations: 25.83 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.004464, allocations: 92.08 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.00448, allocations: 3.953 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.004504, allocations: 13.72 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.004581, allocations: 326.7 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.004623, allocations: 15.98 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.004658, allocations: 15.98 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.004737, allocations: 44.88 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.004739, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.873e-05/0.004838, allocations: 61.67 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.00485, allocations: 4 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.004856, allocations: 3.938 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.004868, allocations: 0 / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.004932, allocations: 11.98 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.004938, allocations: 3.938 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.00496, allocations: 12.02 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.004965, allocations: 0 / 1.004 GB, free: 9.496 MB / 0.9636 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 5.32e-05/0.005018, allocations: 109.8 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.00503, allocations: 4 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.005166, allocations: 68.91 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.005168, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.005173, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.005177, allocations: 3.984 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.005266, allocations: 117.2 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005266, allocations: 0 / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.005293, allocations: 7.984 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005294, allocations: 0 / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.0053, allocations: 0 / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.005303, allocations: 7.938 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005303, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.005432, allocations: 163.5 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.005437, allocations: 4.031 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.005446, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.005485, allocations: 15.92 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.005516, allocations: 4 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005518, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.005546, allocations: 87.27 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005546, allocations: 0 / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001414/0.005688, allocations: 4 kB / 1.005 GB, free: 8.844 MB / 0.9636 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 8.456e-05/0.005772, allocations: 91.25 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.005898, allocations: 43.89 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005899, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.005939, allocations: 15.98 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.006146, allocations: 8 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.006401, allocations: 143.2 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.006448, allocations: 63.47 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.006473, allocations: 8.5 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.006474, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of Templates: time 0.001396/0.007869, allocations: 0.5588 MB / 1.006 GB, free: 7.863 MB / 0.9636 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: 6.383597097359598]