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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.22/2.22, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 191.8 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008585/0.0008586, allocations: 95.84 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 12.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3306, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.534, allocations: 149.8 MB / 1.376 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5343, allocations: 67.95 kB / 1.376 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003504/0.5378, allocations: 0.9275 MB / 1.377 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5379, allocations: 0 / 1.377 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5379, allocations: 4 kB / 1.377 GB, free: 2.73 MB / 0.8698 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.0005627/0.5385, allocations: 351.2 kB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.5385, allocations: 8.031 kB / 1.377 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.5386, allocations: 3.984 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.5388, allocations: 171 kB / 1.377 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.5389, allocations: 8 kB / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.5389, allocations: 0 / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.5392, allocations: 73.66 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5392, allocations: 0 / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.5393, allocations: 0 / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5393, allocations: 0 / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.5396, allocations: 75.88 kB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.5402, allocations: 288.7 kB / 1.377 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.5405, allocations: 70.52 kB / 1.378 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.5406, allocations: 4 kB / 1.378 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.5406, allocations: 30.56 kB / 1.378 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5406, allocations: 0 / 1.378 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0006025/0.5412, allocations: 129.8 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.5413, allocations: 55.36 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.5414, allocations: 97 kB / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5414, allocations: 25.7 kB / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.5415, allocations: 92.03 kB / 1.378 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.5416, allocations: 11.84 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.5416, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5417, allocations: 318.8 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.5419, allocations: 31.91 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.5421, allocations: 31.97 kB / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.5422, allocations: 35.92 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5422, allocations: 0 / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000383/0.5426, allocations: 97.83 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5427, allocations: 4 kB / 1.378 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5427, allocations: 0 / 1.378 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5427, allocations: 4 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.5429, allocations: 15.98 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5429, allocations: 0 / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.543, allocations: 19.98 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5431, allocations: 3.984 kB / 1.378 GB, free: 0.5039 MB / 0.8698 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 0.0001348/0.5432, allocations: 114.6 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.5432, allocations: 3.938 kB / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.5433, allocations: 11.91 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5433, allocations: 4 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5433, allocations: 0 / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5433, allocations: 0 / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.5436, allocations: 173.6 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5436, allocations: 0 / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.5437, allocations: 15.98 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5438, allocations: 0 / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5438, allocations: 8.25 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5438, allocations: 8 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5438, allocations: 3.984 kB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.5442, allocations: 187.4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.5443, allocations: 89.09 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.5443, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.5445, allocations: 4 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.5446, allocations: 19.91 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.5446, allocations: 4 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.5447, allocations: 83.28 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5447, allocations: 3.938 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003344/0.545, allocations: 12 kB / 1.379 GB, free: 15.68 MB / 0.8855 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.0001986/0.5452, allocations: 107.2 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.5456, allocations: 63.95 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5456, allocations: 0 / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.5458, allocations: 43.91 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5461, allocations: 8.812 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.5466, allocations: 146.2 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.547, allocations: 0.6809 MB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.5471, allocations: 11.98 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.5471, allocations: 7.438 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.5471, allocations: 0 / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of Templates: time 0.004124/0.5513, allocations: 0.7383 MB / 1.381 GB, free: 13.82 MB / 0.8855 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches