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.001748/0.001748, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.002002/0.002002, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.254/2.254, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.78 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002386/0.3038, allocations: 0.7182 MB / 0.9505 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3049, allocations: 0.8567 MB / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.3049, allocations: 0 / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.305, allocations: 0 / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.3051, allocations: 4 kB / 0.9513 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.3052, allocations: 4 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.3053, allocations: 27.92 kB / 0.9514 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.3054, allocations: 3.984 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.3055, allocations: 15.92 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.3055, allocations: 8 kB / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3056, allocations: 4 kB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.3056, allocations: 4 kB / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3056, allocations: 3.984 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.3057, allocations: 11.94 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.75e-05/0.3057, allocations: 11.97 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3057, allocations: 4 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3057, allocations: 0 / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3058, allocations: 3.938 kB / 0.9514 GB, free: 7.535 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.0004549/0.3062, allocations: 335.8 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3063, allocations: 8.031 kB / 0.9518 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3063, allocations: 8.938 kB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3064, allocations: 168.2 kB / 0.9519 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3064, allocations: 384 / 0.9519 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3065, allocations: 8.359 kB / 0.9519 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3067, allocations: 46.19 kB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3067, allocations: 192 / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3067, allocations: 7.938 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3067, allocations: 0 / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.3069, allocations: 39.95 kB / 0.952 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.3072, allocations: 248.9 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3073, allocations: 42.53 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.3074, allocations: 24.91 kB / 0.9523 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3075, allocations: 0 / 0.9523 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3075, allocations: 34.56 kB / 0.9524 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3075, allocations: 0 / 0.9524 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000349/0.3079, allocations: 85.56 kB / 0.9525 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3079, allocations: 55.53 kB / 0.9525 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.308, allocations: 105.8 kB / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.308, allocations: 29.64 kB / 0.9526 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.3081, allocations: 84.14 kB / 0.9527 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3081, allocations: 3.906 kB / 0.9527 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.3081, allocations: 13.72 kB / 0.9527 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3082, allocations: 310.8 kB / 0.953 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.3083, allocations: 19.97 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.3084, allocations: 19.98 kB / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3086, allocations: 36.83 kB / 0.9531 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3086, allocations: 0 / 0.9531 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.3088, allocations: 73.53 kB / 0.9532 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3088, allocations: 10.28 kB / 0.9532 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3088, allocations: 0 / 0.9532 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3088, allocations: 4 kB / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.3089, allocations: 7.984 kB / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3089, allocations: 0 / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.309, allocations: 7.984 kB / 0.9532 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.309, allocations: 0 / 0.9532 GB, free: 5.508 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.825e-05/0.3091, allocations: 115.8 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3091, allocations: 3.906 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.3091, allocations: 11.12 kB / 0.9533 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3091, allocations: 0 / 0.9533 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3092, allocations: 4 kB / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3092, allocations: 3.938 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3093, allocations: 161.6 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3093, allocations: 0 / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3094, allocations: 4 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3094, allocations: 0 / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3094, allocations: 7.984 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3094, allocations: 3.938 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3094, allocations: 4 kB / 0.9535 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3097, allocations: 159.5 kB / 0.9537 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.3097, allocations: 81.09 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3097, allocations: 0 / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.3098, allocations: 4 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.3099, allocations: 8.016 kB / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3099, allocations: 8 kB / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.3099, allocations: 75.28 kB / 0.9538 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3099, allocations: 0 / 0.9538 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002101/0.3101, allocations: 8 kB / 0.9538 GB, free: 4.766 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.0001564/0.3103, allocations: 99.25 kB / 0.9539 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3105, allocations: 43.89 kB / 0.954 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3105, allocations: 0 / 0.954 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.3106, allocations: 19.92 kB / 0.954 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3109, allocations: 15.88 kB / 0.954 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3113, allocations: 139.2 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3115, allocations: 0.6846 MB / 0.9548 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3116, allocations: 7.438 kB / 0.9548 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.3116, allocations: 0 / 0.9548 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of Templates: time 0.001935/0.3135, allocations: 0.5315 MB / 0.9553 GB, free: 3.164 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