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.001073/0.001073, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001164/0.001164, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 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.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8917/0.894, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00194/0.896, allocations: 0.6888 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.897, allocations: 0.8403 MB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.897, allocations: 4.938 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.8971, allocations: 4.5 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.8972, allocations: 5.234 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.8973, allocations: 26.92 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.8974, allocations: 42.5 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8976, allocations: 11.38 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.8976, allocations: 31.75 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.8977, allocations: 29.06 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.8977, allocations: 4 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.8978, allocations: 5.156 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.8978, allocations: 7.609 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.8978, allocations: 21.36 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.8979, allocations: 47.22 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.898, allocations: 1.125 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.898, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.898, allocations: 0.6094 kB / 1.09 GB, free: 4.32 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.0004287/0.8984, allocations: 351.6 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8985, allocations: 9.125 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.8985, allocations: 3.469 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.544e-05/0.8986, allocations: 168.4 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.8986, allocations: 6.406 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.8986, allocations: 2.5 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8988, allocations: 72.77 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.8989, allocations: 0 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.8989, allocations: 1.703 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8989, allocations: 8.875 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8991, allocations: 56.64 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.8995, allocations: 284.2 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.8997, allocations: 66.97 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.8998, allocations: 33.47 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.8998, allocations: 1.062 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.8998, allocations: 40.02 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.8999, allocations: 0.75 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000412/0.9003, allocations: 114.2 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.9003, allocations: 57.48 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.9004, allocations: 105.1 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.9004, allocations: 25.7 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.9004, allocations: 86.48 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.9005, allocations: 14.81 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.9005, allocations: 19.52 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.9006, allocations: 317.2 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.9007, allocations: 23.48 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.9008, allocations: 36.34 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.901, allocations: 49.42 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.901, allocations: 0.7812 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002368/0.9012, allocations: 88.45 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.9012, allocations: 5.25 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.9013, allocations: 5.516 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9013, allocations: 3.938 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9014, allocations: 13.39 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9014, allocations: 4.547 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.9015, allocations: 6.406 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.9015, allocations: 2.469 kB / 1.092 GB, free: 2.52 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 5.872e-05/0.9016, allocations: 116.3 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.9016, allocations: 7.016 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.9016, allocations: 13.44 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9016, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9016, allocations: 1.125 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9016, allocations: 4.547 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.9018, allocations: 178.3 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9018, allocations: 0.6094 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.9019, allocations: 12.61 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9019, allocations: 1.531 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.9019, allocations: 1.266 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9019, allocations: 1.875 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9019, allocations: 0 / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.9022, allocations: 192 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.9022, allocations: 82.44 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.9022, allocations: 0.9062 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.9023, allocations: 7.297 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.9024, allocations: 10.67 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.9024, allocations: 10.77 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.874e-05/0.9025, allocations: 86.2 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9025, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002225/0.9027, allocations: 10.59 kB / 1.093 GB, free: 1.824 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: 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 9.954e-05/0.9028, allocations: 98.77 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.9031, allocations: 61.02 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9031, allocations: 4 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.9032, allocations: 29.72 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.9035, allocations: 3.25 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.9038, allocations: 154 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.904, allocations: 0.6802 MB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.904, allocations: 12.25 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.904, allocations: 0.5625 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of Templates: time 0.002396/0.9064, allocations: 0.823 MB / 1.095 GB, free: 0.8086 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