Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008235/0.008236, allocations: 99.95 kB / 15.73 MB, free: 6.043 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.001938/0.001938, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.953/2.953, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 71.89 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4801, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002791/0.483, allocations: 0.7054 MB / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4845, allocations: 0.8312 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.4846, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.4846, allocations: 3.984 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.4848, allocations: 7.938 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.4851, allocations: 23.92 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.4852, allocations: 51.84 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4854, allocations: 15.97 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.4855, allocations: 15.98 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.4856, allocations: 23.92 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.4856, allocations: 4 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.4856, allocations: 11.94 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.4857, allocations: 7.984 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.4857, allocations: 23.91 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.4859, allocations: 39.81 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.4859, allocations: 4 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.957e-06/0.4859, allocations: 0 / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4859, allocations: 0 / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006789/0.4866, allocations: 355.4 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4866, allocations: 8.625 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.4867, allocations: 12.84 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.4869, allocations: 172.3 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.4869, allocations: 4.375 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.487, allocations: 4.375 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.4873, allocations: 69.58 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4873, allocations: 0 / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4873, allocations: 0 / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4873, allocations: 4 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.4876, allocations: 55.95 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.4882, allocations: 296.6 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.4885, allocations: 58.55 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.4886, allocations: 36.91 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.4887, allocations: 4 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.4887, allocations: 34.56 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.4887, allocations: 0 / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0005714/0.4893, allocations: 113.5 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.4894, allocations: 59.34 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4895, allocations: 105.8 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4896, allocations: 29.7 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.4896, allocations: 88.05 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.4897, allocations: 7.906 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.4898, allocations: 25.64 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4899, allocations: 314.8 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4901, allocations: 23.97 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.4902, allocations: 27.97 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.4904, allocations: 56.77 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4904, allocations: 0 / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002635/0.4907, allocations: 85.64 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.4907, allocations: 4 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4907, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.4908, allocations: 4 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.4909, allocations: 15.98 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.491, allocations: 0 / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.4911, allocations: 11.89 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4911, allocations: 0 / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001285/0.4912, allocations: 117.8 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.4912, allocations: 0 / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.4913, allocations: 15.89 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4913, allocations: 0 / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4913, allocations: 0 / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.4913, allocations: 4 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.4916, allocations: 177.6 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4916, allocations: 3.938 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.4917, allocations: 15.98 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4917, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4917, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4917, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4917, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.4921, allocations: 187.4 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.4921, allocations: 88.95 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4921, allocations: 256 / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.4923, allocations: 11.98 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.4923, allocations: 11.98 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4923, allocations: 0 / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.4924, allocations: 83.28 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4924, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002373/0.4927, allocations: 15.94 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002012/0.4929, allocations: 112.9 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.4932, allocations: 56.27 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4932, allocations: 0 / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4933, allocations: 32.06 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.4937, allocations: 9.719 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.4943, allocations: 145.5 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.4947, allocations: 0.6807 MB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.4948, allocations: 4 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.4948, allocations: 15.42 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4949, allocations: 0 / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of Templates: time 0.003816/0.4987, allocations: 0.912 MB / 1.214 GB, free: 2.82 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches