Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001392/0.001392, allocations: 191.3 kB / 17.2 MB, free: 5.598 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 68.02 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001969/0.3023, allocations: 0.6612 MB / 0.9509 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.3032, allocations: 0.8645 MB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.3033, allocations: 0 / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.3033, allocations: 0 / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.3034, allocations: 3.938 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3036, allocations: 8 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.3036, allocations: 23.92 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3037, allocations: 4 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.3038, allocations: 15.97 kB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.3039, allocations: 7.938 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3039, allocations: 4 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.3039, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.3039, allocations: 7.984 kB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.304, allocations: 11.94 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.618e-05/0.304, allocations: 19.91 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.304, allocations: 0 / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3041, allocations: 0 / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3041, allocations: 0 / 0.9519 GB, free: 7.227 MB / 0.7325 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.0004813/0.3045, allocations: 343.8 kB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3046, allocations: 8.031 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.3046, allocations: 0.9375 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3048, allocations: 180.2 kB / 0.9524 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3048, allocations: 384 / 0.9524 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3048, allocations: 384 / 0.9524 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.305, allocations: 50.23 kB / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.305, allocations: 192 / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3051, allocations: 3.938 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3051, allocations: 0 / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3052, allocations: 35.97 kB / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.3056, allocations: 252.8 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3057, allocations: 38.5 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.3058, allocations: 24.91 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3059, allocations: 7.984 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.3059, allocations: 30.56 kB / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3059, allocations: 0 / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.3063, allocations: 85.58 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3063, allocations: 55.53 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.3064, allocations: 97.84 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3064, allocations: 25.7 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3065, allocations: 84.14 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3065, allocations: 11.84 kB / 0.9532 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3066, allocations: 9.719 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3067, allocations: 322.8 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.3068, allocations: 15.98 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3068, allocations: 15.98 kB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.307, allocations: 40.81 kB / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.307, allocations: 0 / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.3072, allocations: 69.55 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3072, allocations: 8.094 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3072, allocations: 0 / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3073, allocations: 0 / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.3074, allocations: 11.98 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3074, allocations: 0 / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.3074, allocations: 7.984 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3074, allocations: 0 / 0.9536 GB, free: 5.199 MB / 0.7325 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.437e-05/0.3075, allocations: 115.8 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3076, allocations: 12.09 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3076, allocations: 7.109 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3076, allocations: 0 / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3076, allocations: 0 / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3076, allocations: 4 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3078, allocations: 161.6 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3078, allocations: 0 / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.3079, allocations: 11.98 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3079, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.3079, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3079, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3079, allocations: 4 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3081, allocations: 167.4 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3082, allocations: 81.11 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3082, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.3083, allocations: 11.92 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.3083, allocations: 4.031 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3083, allocations: 0 / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.3084, allocations: 83.28 kB / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3084, allocations: 0 / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000213/0.3086, allocations: 7.938 kB / 0.9543 GB, free: 4.449 MB / 0.7325 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.00014/0.3088, allocations: 103.2 kB / 0.9544 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.309, allocations: 39.91 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.309, allocations: 0 / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.3091, allocations: 19.98 kB / 0.9544 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3094, allocations: 7.922 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.3097, allocations: 139.2 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3099, allocations: 0.6807 MB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.31, allocations: 11.44 kB / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.31, allocations: 0 / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of Templates: time 0.001807/0.3118, allocations: 0.5347 MB / 0.9558 GB, free: 2.855 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches