Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001892/0.001892, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002392/0.002392, allocations: 216.2 kB / 23.01 MB, free: 5.113 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.8 MB / 0.7714 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 66.48 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2843, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001881/0.2862, allocations: 0.6871 MB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2872, allocations: 0.8433 MB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.2872, allocations: 0 / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2873, allocations: 7.922 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.2873, allocations: 3.984 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.2875, allocations: 11.94 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.2876, allocations: 23.92 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.2876, allocations: 12 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.2877, allocations: 7.984 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.2877, allocations: 7.938 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2877, allocations: 4 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.2878, allocations: 11.92 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2878, allocations: 11.92 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.2878, allocations: 11.94 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.2879, allocations: 23.91 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2879, allocations: 0 / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2879, allocations: 3.938 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2879, allocations: 0 / 1.286 GB, free: 9.512 MB / 0.9825 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.0004409/0.2884, allocations: 268.1 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2884, allocations: 8.031 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.2885, allocations: 8.922 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2886, allocations: 102.5 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.2886, allocations: 384 / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2886, allocations: 8.375 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.2888, allocations: 46.23 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2888, allocations: 4.188 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2888, allocations: 7.938 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2888, allocations: 0 / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.289, allocations: 35.91 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.2893, allocations: 220 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2895, allocations: 42.5 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.2896, allocations: 16.91 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.2896, allocations: 0 / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2896, allocations: 38.53 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2896, allocations: 0 / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.2899, allocations: 85.69 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.29, allocations: 51.41 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.2901, allocations: 105.8 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2901, allocations: 25.7 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.2902, allocations: 80.14 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2902, allocations: 7.891 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.2902, allocations: 21.7 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2904, allocations: 310.8 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.2904, allocations: 20.02 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.2905, allocations: 15.98 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.2907, allocations: 40.75 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2907, allocations: 0 / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.2909, allocations: 69.67 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2909, allocations: 4 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2909, allocations: 4 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2909, allocations: 3.984 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.291, allocations: 7.938 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.291, allocations: 0 / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.291, allocations: 11.98 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.291, allocations: 3.938 kB / 1.288 GB, free: 7.684 MB / 0.9825 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.575e-05/0.2911, allocations: 117.8 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.2912, allocations: 3.953 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.2914, allocations: 76.91 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2914, allocations: 0 / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2914, allocations: 0 / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2914, allocations: 3.984 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2916, allocations: 132.7 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2916, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.2916, allocations: 16.02 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2916, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2917, allocations: 4 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2917, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2917, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.2919, allocations: 171.4 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.2919, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2919, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.292, allocations: 7.984 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.292, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.292, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.2921, allocations: 79.28 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2921, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000221/0.2923, allocations: 8 kB / 1.288 GB, free: 7 MB / 0.9825 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.0001144/0.2924, allocations: 99.27 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2926, allocations: 31.97 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2926, allocations: 4 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.2927, allocations: 19.91 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.293, allocations: 11.94 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.2933, allocations: 123.5 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2936, allocations: 0.6729 MB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.2937, allocations: 7.438 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.2937, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.002166/0.2958, allocations: 0.5469 MB / 1.29 GB, free: 5.422 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.960362248006277]