Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_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_9_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.001191/0.001191, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001295/0.001295, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.17 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.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9843, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002017/0.9864, allocations: 0.6874 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.9875, allocations: 0.8403 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.9875, allocations: 3.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.9876, allocations: 4.547 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.9876, allocations: 5.953 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.9878, allocations: 22.83 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.9879, allocations: 49.77 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.9881, allocations: 16.12 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.9881, allocations: 18.52 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.9882, allocations: 29.78 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.9883, allocations: 4.719 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.9883, allocations: 4.719 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.9883, allocations: 7.734 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.9884, allocations: 22.39 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.9885, allocations: 46.59 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9885, allocations: 4 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9885, allocations: 4.609 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.9885, allocations: 0.7812 kB / 1.09 GB, free: 4.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005409/0.9891, allocations: 347 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.9891, allocations: 9 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.9892, allocations: 3.562 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.9893, allocations: 168.3 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.9894, allocations: 6.531 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.9894, allocations: 2.531 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.9896, allocations: 73.31 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.9896, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.9897, allocations: 5.062 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9897, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.9899, allocations: 61.66 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.9904, allocations: 287.5 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.9906, allocations: 67.94 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.9907, allocations: 28.78 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.9907, allocations: 0.9375 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.9908, allocations: 40.39 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.9908, allocations: 0 / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004679/0.9912, allocations: 114 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.9913, allocations: 53.06 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.9913, allocations: 108.5 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.9914, allocations: 27.34 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.9914, allocations: 86.27 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.9914, allocations: 14.41 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.9915, allocations: 20.42 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.9915, allocations: 321.3 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.9917, allocations: 23.14 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.9918, allocations: 31.27 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.992, allocations: 55.25 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.992, allocations: 0 / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002648/0.9923, allocations: 88.55 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9923, allocations: 5.25 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9923, allocations: 1.125 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9923, allocations: 0.5156 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.9925, allocations: 13.44 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.9925, allocations: 4.781 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.9926, allocations: 6.016 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.9926, allocations: 2.062 kB / 1.092 GB, free: 2.535 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: 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 6.682e-05/0.9926, allocations: 124.5 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.9927, allocations: 6.094 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.9927, allocations: 9.703 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9927, allocations: 0.7969 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9927, allocations: 1.188 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.9928, allocations: 78.55 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.9928, allocations: 9.641 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.9929, allocations: 5.938 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.9929, allocations: 16.16 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003173/0.9933, allocations: 165.7 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.9936, allocations: 257.5 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000132/0.9937, allocations: 36.25 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.9938, allocations: 90.34 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of Backend: time 4.31e-07/0.9938, allocations: 3.938 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.9942, allocations: 106.3 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004934/0.9947, allocations: 0.5712 MB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of Templates: time 0.004014/0.9988, allocations: 1.001 MB / 1.095 GB, free: 1.098 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches