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.009837/0.009837, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001733/0.001733, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.621/1.621, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.741/2.741, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 69.28 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.381, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002045/0.3831, allocations: 0.6708 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3843, allocations: 0.8434 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.3843, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.3844, allocations: 3.844 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.3845, allocations: 7.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.3846, allocations: 11.98 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.746e-05/0.3847, allocations: 27.91 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3848, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.3849, allocations: 11.94 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.385, allocations: 11.98 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.385, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.385, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.385, allocations: 3.938 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.3851, allocations: 11.98 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.759e-05/0.3851, allocations: 23.89 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3852, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3852, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3852, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 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.0004912/0.3857, allocations: 335.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3857, allocations: 8.031 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.3858, allocations: 8.844 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3859, allocations: 160.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3859, allocations: 8.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3859, allocations: 4.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3861, allocations: 50.17 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3861, allocations: 192 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3862, allocations: 7.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3862, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3863, allocations: 31.95 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.3867, allocations: 248.9 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3868, allocations: 46.42 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.3869, allocations: 20.91 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.387, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.387, allocations: 34.56 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.387, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003337/0.3873, allocations: 81.64 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3874, allocations: 55.34 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.3875, allocations: 97.86 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3875, allocations: 29.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.3876, allocations: 92.16 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3876, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3876, allocations: 17.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3877, allocations: 310.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.3878, allocations: 15.98 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.3879, allocations: 19.97 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.388, allocations: 36.89 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.388, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001705/0.3882, allocations: 77.5 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3882, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3883, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3883, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.3884, allocations: 7.984 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3884, allocations: 7.969 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.3884, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3884, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 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.543e-05/0.3885, allocations: 117.8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.3886, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.3886, allocations: 7.125 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3886, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3886, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3886, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3888, allocations: 157.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3888, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.3888, allocations: 7.984 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3889, allocations: 192 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3889, allocations: 7.938 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.3889, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3889, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3891, allocations: 171.4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3892, allocations: 84.95 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3892, allocations: 7.984 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.3893, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3893, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3894, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.3894, allocations: 79.27 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3894, allocations: 4.031 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002133/0.3896, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 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.0001653/0.3898, allocations: 99.78 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.3901, allocations: 43.89 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3901, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.3902, allocations: 20.05 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3905, allocations: 11.88 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.3908, allocations: 113.6 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3911, allocations: 0.6768 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.3912, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3912, allocations: 7.438 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3912, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of Templates: time 0.002664/0.3939, allocations: 442.7 kB / 1.093 GB, free: 11.58 MB / 0.8575 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/jenkins/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