Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.000847/0.000847, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008625/0.0008625, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9011/0.9011, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.772/1.772, allocations: 389 MB / 0.6338 GB, free: 12.7 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.901e-05, allocations: 10.16 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001107/0.001126, allocations: 0.6639 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.001838, allocations: 0.8431 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.001868, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.001893, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.001945, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.002116, allocations: 11.98 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.002178, allocations: 23.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.002267, allocations: 7.984 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.002329, allocations: 15.92 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.967e-05/0.002358, allocations: 8 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.002372, allocations: 4 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.00241, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.002426, allocations: 7.984 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002441, allocations: 4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.392e-05/0.002535, allocations: 31.83 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002537, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.934e-06/0.002539, allocations: 3.984 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002543, allocations: 3.938 kB / 1.003 GB, free: 11.29 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.0003498/0.002892, allocations: 258.4 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.002931, allocations: 16.73 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.003009, allocations: 4.938 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.077e-05/0.003089, allocations: 101.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.003101, allocations: 4.375 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.003109, allocations: 384 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.003248, allocations: 50.23 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.003256, allocations: 192 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.003265, allocations: 384 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.00327, allocations: 384 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.913e-05/0.003359, allocations: 43.89 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.003596, allocations: 192.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.003668, allocations: 34.56 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.003712, allocations: 20.89 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.003729, allocations: 4 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.003748, allocations: 34.56 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003749, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/0.00396, allocations: 93.47 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.00399, allocations: 51.41 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.004045, allocations: 101.8 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.004054, allocations: 25.7 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.004087, allocations: 84.14 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.004107, allocations: 15.88 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.004129, allocations: 9.719 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.004347, allocations: 322.7 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.004392, allocations: 20.11 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.004427, allocations: 15.97 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.004501, allocations: 36.83 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004503, allocations: 0 / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.991e-05/0.004603, allocations: 77.66 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.004615, allocations: 6.031 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.004621, allocations: 3.938 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.004633, allocations: 4 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.004691, allocations: 4 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.004696, allocations: 3.984 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.004718, allocations: 4 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.004722, allocations: 0 / 1.004 GB, free: 9.508 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.377e-05/0.004776, allocations: 109.8 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.004787, allocations: 4.031 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.004913, allocations: 84.83 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004915, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.004919, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004921, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.609e-05/0.005008, allocations: 105.3 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.00501, allocations: 7.984 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.005036, allocations: 8 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005038, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005043, allocations: 4.031 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.005045, allocations: 3.938 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005046, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.005169, allocations: 155.5 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.005174, allocations: 4 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.005184, allocations: 3.984 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.005221, allocations: 11.94 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.005251, allocations: 3.984 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.005252, allocations: 7.969 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.005276, allocations: 79.28 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005276, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001429/0.005419, allocations: 4 kB / 1.005 GB, free: 8.855 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 6.192e-05/0.005481, allocations: 91.25 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.005595, allocations: 43.89 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.005597, allocations: 8 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.005635, allocations: 16.05 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.005813, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.006029, allocations: 143.1 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.006076, allocations: 63.34 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.006098, allocations: 8.5 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of SimCode: time 2.7e-07/0.006098, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of Templates: time 0.001513/0.007611, allocations: 0.5536 MB / 1.006 GB, free: 7.875 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.533697038888931]