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.001567/0.001567, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.00167/0.00167, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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 3.24/3.24, allocations: 429.6 MB / 0.673 GB, free: 3.859 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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 2.935e-06/2.935e-06, allocations: 0 / 0.8777 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.669e-05/3.962e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002051/0.002091, allocations: 0.6735 MB / 0.8783 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003423, allocations: 0.8448 MB / 0.8791 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.00346, allocations: 1.094 kB / 0.8791 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.003486, allocations: 1.094 kB / 0.8791 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.003552, allocations: 0.875 kB / 0.8791 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.003754, allocations: 16.14 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.003843, allocations: 28.94 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.003923, allocations: 4 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.004002, allocations: 16.52 kB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.004042, allocations: 8 kB / 0.8792 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.004057, allocations: 3.656 kB / 0.8792 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.004099, allocations: 4 kB / 0.8792 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.004116, allocations: 3.984 kB / 0.8792 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.004146, allocations: 8 kB / 0.8792 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.004264, allocations: 35.83 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004267, allocations: 0 / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004267, allocations: 0 / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004272, allocations: 0 / 0.8793 GB, free: 4.742 MB / 0.8386 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.000504/0.004776, allocations: 258.3 kB / 0.8795 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.004818, allocations: 12.66 kB / 0.8795 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.004924, allocations: 4.922 kB / 0.8795 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.005056, allocations: 110.3 kB / 0.8796 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005069, allocations: 4.969 kB / 0.8796 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.00508, allocations: 4.375 kB / 0.8796 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.005281, allocations: 47.23 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.00529, allocations: 192 / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005298, allocations: 5.156 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.005303, allocations: 384 / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.005494, allocations: 33.09 kB / 0.8797 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.005869, allocations: 194.2 kB / 0.8799 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.006021, allocations: 38.56 kB / 0.8799 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.006123, allocations: 25.67 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.006146, allocations: 0 / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.006183, allocations: 35.44 kB / 0.88 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006184, allocations: 4 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004291/0.006613, allocations: 81.58 kB / 0.8801 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.006667, allocations: 59.34 kB / 0.8801 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006773, allocations: 101.8 kB / 0.8802 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.006797, allocations: 29.64 kB / 0.8803 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.006861, allocations: 84.14 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.006889, allocations: 15.88 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.006924, allocations: 9.719 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.007099, allocations: 310.8 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.007193, allocations: 24.11 kB / 0.8807 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.007272, allocations: 11.98 kB / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.007451, allocations: 44.81 kB / 0.8807 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007453, allocations: 0 / 0.8807 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002411/0.007694, allocations: 73.66 kB / 0.8808 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.00771, allocations: 4 kB / 0.8808 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.007718, allocations: 3.938 kB / 0.8808 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.007739, allocations: 0 / 0.8808 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.007838, allocations: 8 kB / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.007844, allocations: 0 / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.007904, allocations: 11.94 kB / 0.8808 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00791, allocations: 0 / 0.8808 GB, free: 2.957 MB / 0.8386 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.728e-05/0.008007, allocations: 109.8 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.008035, allocations: 4 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.008297, allocations: 76.92 kB / 0.881 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.008303, allocations: 8 kB / 0.881 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008307, allocations: 0 / 0.881 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.008309, allocations: 0 / 0.881 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.00848, allocations: 101.3 kB / 0.8811 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008482, allocations: 0 / 0.8811 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.008548, allocations: 11.92 kB / 0.8811 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008551, allocations: 4 kB / 0.8811 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.008558, allocations: 4.031 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.008561, allocations: 3.938 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008563, allocations: 0 / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.008854, allocations: 159.5 kB / 0.8813 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.008864, allocations: 4 kB / 0.8813 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.008879, allocations: 3.984 kB / 0.8813 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.008966, allocations: 7.938 kB / 0.8813 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.009009, allocations: 3.984 kB / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.009012, allocations: 4.031 kB / 0.8813 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.009068, allocations: 83.22 kB / 0.8814 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009069, allocations: 0 / 0.8814 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002338/0.009302, allocations: 8 kB / 0.8814 GB, free: 2.309 MB / 0.8386 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.0001481/0.00945, allocations: 95.19 kB / 0.8815 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.009677, allocations: 35.95 kB / 0.8815 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.009682, allocations: 8 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.009766, allocations: 16.05 kB / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.01008, allocations: 10.34 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.01043, allocations: 105.5 kB / 0.8817 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.01051, allocations: 63.2 kB / 0.8817 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.01053, allocations: 0 / 0.8817 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.01056, allocations: 12.5 kB / 0.8817 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01056, allocations: 3.938 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of Templates: time 0.003131/0.0137, allocations: 491.8 kB / 0.8822 GB, free: 1.441 MB / 0.8386 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: 8.28246690100059]