Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.00162/0.00162, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001846/0.001846, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.88 kB / 1.057 GB, free: 1.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2835, allocations: 160.7 MB / 1.214 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001923/0.2854, allocations: 0.6585 MB / 1.215 GB, free: 228 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009614/0.2863, allocations: 0.8079 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.2864, allocations: 0 / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.2864, allocations: 3.938 kB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.2865, allocations: 12 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.2866, allocations: 7.922 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.2867, allocations: 23.92 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.2868, allocations: 11.98 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.2868, allocations: 7.984 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/0.2869, allocations: 7.938 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2869, allocations: 7.938 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.2869, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2869, allocations: 11.98 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.2869, allocations: 3.938 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.278e-05/0.287, allocations: 27.84 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.287, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.287, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.287, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 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.0004836/0.2875, allocations: 339.4 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2875, allocations: 8.031 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.2876, allocations: 4.891 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.2877, allocations: 172.4 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.2877, allocations: 384 / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2877, allocations: 4.375 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2879, allocations: 46.25 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2879, allocations: 4.172 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2879, allocations: 3.938 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2879, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.2881, allocations: 35.91 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.2885, allocations: 248.9 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2886, allocations: 42.53 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.2887, allocations: 16.91 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2887, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2887, allocations: 34.56 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2887, allocations: 4 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003797/0.2891, allocations: 81.58 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2892, allocations: 51.41 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.2892, allocations: 101.8 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2893, allocations: 25.7 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.2893, allocations: 80.14 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.2893, allocations: 16.08 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.2894, allocations: 9.719 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2895, allocations: 314.8 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.2896, allocations: 19.98 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.2897, allocations: 11.98 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2898, allocations: 44.83 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2898, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.29, allocations: 77.55 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.29, allocations: 4 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.29, allocations: 3.938 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2901, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.2902, allocations: 11.98 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2902, allocations: 3.938 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.2902, allocations: 12.02 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2902, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 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 8.418e-05/0.2903, allocations: 109.8 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.2903, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.2906, allocations: 72.72 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2906, allocations: 192 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2906, allocations: 4.031 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2906, allocations: 3.984 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2907, allocations: 165.5 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2907, allocations: 4 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.2908, allocations: 7.984 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2908, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2908, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2908, allocations: 4 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2908, allocations: 4 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.2911, allocations: 167.4 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.2911, allocations: 85.06 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2911, allocations: 0 / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.2912, allocations: 7.984 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.2912, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.2913, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.2913, allocations: 87.31 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2913, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002135/0.2915, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 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.0001351/0.2916, allocations: 103.2 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2919, allocations: 31.97 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2919, allocations: 0 / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.292, allocations: 27.98 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.2922, allocations: 7.922 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.2925, allocations: 127.2 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2929, allocations: 0.6768 MB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.2929, allocations: 11.44 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.2929, allocations: 3.938 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of Templates: time 0.001964/0.2949, allocations: 0.5445 MB / 1.22 GB, free: 10.83 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.182657581055537]