Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001318/0.001319, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01136/0.01136, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.673/1.673, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.84/2.84, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006828, allocations: 12 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8929/0.8936, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001065/0.8948, allocations: 441.1 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.8959, allocations: 0.8274 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.8959, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.8959, allocations: 3.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.8961, allocations: 7.984 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.8962, allocations: 23.97 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.8963, allocations: 39.86 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.8965, allocations: 15.98 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.8965, allocations: 15.98 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.8966, allocations: 23.91 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.8967, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.8967, allocations: 3.938 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.8967, allocations: 3.984 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.8968, allocations: 41.58 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.8969, allocations: 43.84 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8969, allocations: 3.938 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8969, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8969, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 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.0005713/0.8975, allocations: 353.5 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8975, allocations: 8.031 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.8976, allocations: 8.844 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.8978, allocations: 172.3 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.8978, allocations: 384 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.8978, allocations: 4.375 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.8981, allocations: 77.77 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8981, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.8981, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.8981, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.8983, allocations: 63.89 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.8988, allocations: 288.7 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.8991, allocations: 70.53 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.8992, allocations: 40.92 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.8993, allocations: 7.875 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8993, allocations: 34.55 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.8993, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004786/0.8998, allocations: 121.6 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.8998, allocations: 51.41 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9, allocations: 109.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.9, allocations: 29.7 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.9001, allocations: 92.05 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.9001, allocations: 7.844 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.9001, allocations: 17.72 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.9003, allocations: 318.8 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.9004, allocations: 31.98 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.9005, allocations: 35.91 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.9007, allocations: 60.81 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9008, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002696/0.901, allocations: 101.9 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9011, allocations: 7.938 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9011, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.9011, allocations: 4.031 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.9012, allocations: 15.98 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9013, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.9013, allocations: 19.89 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.9014, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 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 9.901e-05/0.9015, allocations: 121.7 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.9015, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.9015, allocations: 7.906 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9015, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.9016, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9016, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.9018, allocations: 173.6 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9018, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.9019, allocations: 15.98 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9019, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.9019, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/0.9019, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9019, allocations: 256 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.9023, allocations: 203.3 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.9024, allocations: 85.09 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.9024, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.9025, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.9026, allocations: 15.98 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.9026, allocations: 7.984 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.9026, allocations: 83.22 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9026, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002182/0.9029, allocations: 12 kB / 1.027 GB, free: 11.2 MB / 0.7794 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.0001687/0.903, allocations: 103.2 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.9033, allocations: 71.94 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9034, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.9035, allocations: 39.91 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.9038, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.9043, allocations: 144.6 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.9046, allocations: 0.6809 MB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.856e-05/0.9046, allocations: 11.98 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.9047, allocations: 11.44 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.9047, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.003116/0.9078, allocations: 0.7614 MB / 1.029 GB, free: 9.32 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches