Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.00125/0.00125, allocations: 193 kB / 16.91 MB, free: 6.195 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.595/2.595, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 72.55 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2977, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001911/0.2997, allocations: 0.726 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008604/0.3005, allocations: 0.804 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.3006, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.3006, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.3007, allocations: 4 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.3008, allocations: 8 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.3009, allocations: 23.92 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.301, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.301, allocations: 19.91 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.3011, allocations: 7.938 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3011, allocations: 4 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.3011, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.3011, allocations: 7.984 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.3011, allocations: 11.94 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.947e-05/0.3012, allocations: 19.97 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3012, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3012, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3012, allocations: 0 / 1.066 GB, free: 13.43 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.0004503/0.3017, allocations: 331.8 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3017, allocations: 12.03 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.3018, allocations: 4.844 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3019, allocations: 168.3 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3019, allocations: 4.375 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3019, allocations: 384 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3021, allocations: 58.16 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3021, allocations: 192 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3021, allocations: 7.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3021, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.3023, allocations: 35.95 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.3026, allocations: 248.9 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3028, allocations: 42.53 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.3028, allocations: 20.91 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3029, allocations: 4 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3029, allocations: 34.56 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3029, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003308/0.3032, allocations: 81.58 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3033, allocations: 55.41 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.3034, allocations: 97.84 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3034, allocations: 25.7 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.3035, allocations: 92.17 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.3035, allocations: 7.984 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3035, allocations: 9.719 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3037, allocations: 318.8 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.3037, allocations: 15.97 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.3038, allocations: 15.98 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.304, allocations: 40.89 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.304, allocations: 3.938 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.3042, allocations: 77.44 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3042, allocations: 4 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3042, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3042, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3043, allocations: 16.02 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3043, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.3044, allocations: 7.984 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.3044, allocations: 0 / 1.068 GB, free: 11.39 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 7.635e-05/0.3044, allocations: 112 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3045, allocations: 8 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.3047, allocations: 72.72 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3047, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3047, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3047, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.3049, allocations: 165.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3049, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.3049, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3049, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.305, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.305, allocations: 11.92 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.305, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.3052, allocations: 163.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.3053, allocations: 85 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.3053, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.3054, allocations: 8 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3054, allocations: 7.922 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3054, allocations: 4.031 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.3055, allocations: 87.45 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3055, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001996/0.3057, allocations: 4 kB / 1.068 GB, free: 10.58 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.0001297/0.3058, allocations: 99.25 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.306, allocations: 35.95 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.306, allocations: 4.062 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.3061, allocations: 19.98 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3064, allocations: 11.88 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.3067, allocations: 135.2 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3071, allocations: 0.6807 MB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3071, allocations: 11.5 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3071, allocations: 0 / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.001939/0.309, allocations: 0.5414 MB / 1.07 GB, free: 8.977 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches