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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 103.4 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 192.1 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7111 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68.64 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002006/0.2993, allocations: 0.6613 MB / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.3003, allocations: 0.8079 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.3004, allocations: 0 / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.3004, allocations: 3.938 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.3005, allocations: 7.938 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.3006, allocations: 7.984 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.3007, allocations: 15.98 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3008, allocations: 15.98 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3009, allocations: 15.88 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.3009, allocations: 7.984 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.301, allocations: 0 / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.301, allocations: 7.938 kB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.301, allocations: 4 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.301, allocations: 11.92 kB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.344e-05/0.3011, allocations: 19.97 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3011, allocations: 4 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3011, allocations: 4 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3011, allocations: 0 / 1.02 GB, free: 9.027 MB / 0.795 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.0004966/0.3016, allocations: 331.8 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3017, allocations: 8.625 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.3017, allocations: 12.84 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3019, allocations: 164.3 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3019, allocations: 384 / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3019, allocations: 4.375 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3021, allocations: 54.22 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3021, allocations: 192 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3022, allocations: 7.938 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3022, allocations: 3.938 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.3023, allocations: 35.89 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3027, allocations: 245 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3029, allocations: 46.48 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.862e-05/0.303, allocations: 24.91 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.303, allocations: 0 / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.303, allocations: 34.5 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3031, allocations: 0 / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004219/0.3035, allocations: 85.64 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3035, allocations: 51.41 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.3036, allocations: 97.8 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3037, allocations: 33.69 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3037, allocations: 84.14 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3037, allocations: 3.906 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3038, allocations: 17.84 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3039, allocations: 314.8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.304, allocations: 11.98 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.3041, allocations: 23.97 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.3043, allocations: 36.77 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3043, allocations: 4.062 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.3045, allocations: 73.5 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3045, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3045, allocations: 0 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3045, allocations: 4 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.3046, allocations: 7.984 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3046, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3047, allocations: 4.031 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3047, allocations: 4 kB / 1.021 GB, free: 7.004 MB / 0.795 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 0.0001016/0.3048, allocations: 121.8 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.3048, allocations: 0 / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3051, allocations: 68.72 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3051, allocations: 4 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3051, allocations: 0 / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3051, allocations: 4.031 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3053, allocations: 157.6 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3053, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3054, allocations: 15.92 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3054, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3054, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3054, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3054, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3057, allocations: 171.4 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.3057, allocations: 81.09 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.3057, allocations: 0 / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3058, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3059, allocations: 7.984 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3059, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.3059, allocations: 83.47 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3059, allocations: 4.031 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002222/0.3062, allocations: 4 kB / 1.022 GB, free: 6.188 MB / 0.795 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.0001264/0.3063, allocations: 95.25 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3065, allocations: 35.95 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3065, allocations: 7.938 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.3066, allocations: 23.98 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.3069, allocations: 12.02 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.3072, allocations: 135.2 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3076, allocations: 0.6768 MB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.3076, allocations: 7.438 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.3076, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of Templates: time 0.002052/0.3097, allocations: 0.5469 MB / 1.024 GB, free: 4.59 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches