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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001483/0.001483, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001498/0.001498, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001793, allocations: 67.64 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2764, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00188/0.2783, allocations: 0.7261 MB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.2792, allocations: 0.8079 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.2792, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.2792, allocations: 3.938 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.2793, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.2794, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.63e-05/0.2795, allocations: 27.91 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.2796, allocations: 8 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.2796, allocations: 11.92 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.346e-05/0.2797, allocations: 8 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2797, allocations: 4 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.2797, allocations: 7.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2797, allocations: 7.984 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2798, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.588e-05/0.2798, allocations: 19.97 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2798, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2798, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2799, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 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.000447/0.2803, allocations: 331.8 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2803, allocations: 12.03 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.2804, allocations: 4.844 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2805, allocations: 176.2 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.2805, allocations: 384 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2806, allocations: 384 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2807, allocations: 50.23 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2807, allocations: 192 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2808, allocations: 3.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2808, allocations: 0 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2809, allocations: 39.95 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.2813, allocations: 244.9 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2814, allocations: 42.47 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.2815, allocations: 24.91 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2815, allocations: 7.984 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2815, allocations: 34.5 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2815, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003322/0.2819, allocations: 85.58 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2819, allocations: 51.41 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.282, allocations: 106 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.282, allocations: 25.7 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2821, allocations: 88.05 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.2821, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.2822, allocations: 13.72 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2823, allocations: 314.8 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.2824, allocations: 15.97 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.2825, allocations: 19.98 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.2826, allocations: 36.83 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2826, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.2828, allocations: 77.44 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2828, allocations: 7.938 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2829, allocations: 4.094 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2829, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.283, allocations: 15.98 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.283, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.283, allocations: 7.984 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.283, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 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.014e-05/0.2831, allocations: 114.4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.2832, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.2834, allocations: 72.78 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2834, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2834, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2834, allocations: 3.938 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2836, allocations: 165.6 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2836, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.2837, allocations: 4 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.2837, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2837, allocations: 4.031 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2837, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2837, allocations: 3.984 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.2839, allocations: 155.5 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.284, allocations: 85 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.284, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.2841, allocations: 8.031 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2841, allocations: 3.984 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2841, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.2842, allocations: 79.28 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2842, allocations: 3.938 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002063/0.2844, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 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.000129/0.2845, allocations: 107.2 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.2847, allocations: 39.95 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2847, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.2848, allocations: 15.98 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.2851, allocations: 15.88 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.2854, allocations: 133.5 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.2857, allocations: 0.6768 MB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.2857, allocations: 19.31 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2858, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.001946/0.2877, allocations: 0.5381 MB / 1.07 GB, free: 9.004 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (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) 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) Reference file matches