Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 178 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008618/0.0008622, allocations: 90.36 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003271, allocations: 8.625 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4214, allocations: 131.7 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4217, allocations: 71.97 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002738/0.4245, allocations: 0.9461 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4245, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.4245, allocations: 4 kB / 1.03 GB, free: 11.01 MB / 0.6823 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.0004422/0.425, allocations: 351.2 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.425, allocations: 8.031 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.4251, allocations: 7.844 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4252, allocations: 171 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4253, allocations: 12 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4253, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4255, allocations: 77.59 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4255, allocations: 3.984 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4256, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4256, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.4258, allocations: 67.94 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.4262, allocations: 284.8 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.4265, allocations: 82.5 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.4265, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4265, allocations: 30.56 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4265, allocations: 0 / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004432/0.427, allocations: 125.8 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.427, allocations: 55.34 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.4271, allocations: 101 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4271, allocations: 25.7 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.4272, allocations: 88.12 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.4272, allocations: 19.83 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.4272, allocations: 0 / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4274, allocations: 322.8 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.4275, allocations: 27.92 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.4276, allocations: 31.97 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.4277, allocations: 27.98 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4277, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002435/0.4279, allocations: 97.64 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.428, allocations: 8 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.428, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.428, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4281, allocations: 19.92 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4282, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.4282, allocations: 11.98 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4282, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6823 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 (abs1.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/0.4283, allocations: 121.8 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4284, allocations: 3.906 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.4284, allocations: 11.89 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4284, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4284, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4284, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.4286, allocations: 169.6 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4286, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.4287, allocations: 19.97 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4287, allocations: 7.938 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4288, allocations: 4 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4288, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4288, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.4291, allocations: 195.7 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.4291, allocations: 89.02 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4291, allocations: 256 / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4293, allocations: 11.98 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.4293, allocations: 16.02 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.4293, allocations: 7.938 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.4294, allocations: 79.28 kB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4294, allocations: 4 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000247/0.4296, allocations: 19.98 kB / 1.032 GB, free: 7.938 MB / 0.6823 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.u,abs1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.4298, allocations: 99.25 kB / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.4301, allocations: 59.95 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4301, allocations: 4 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4302, allocations: 43.91 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.4304, allocations: 13.48 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.4308, allocations: 145.2 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4311, allocations: 0.6848 MB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.132e-05/0.4312, allocations: 4 kB / 1.033 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.4312, allocations: 7.438 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4312, allocations: 0 / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.002871/0.4341, allocations: 0.747 MB / 1.034 GB, free: 6.082 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches