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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 173 kB / 16.92 MB, free: 6.652 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005113, allocations: 8.656 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3606, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001004/0.3617, allocations: 435.5 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3628, allocations: 0.8274 MB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.3629, allocations: 4 kB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.3629, allocations: 7.922 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.363, allocations: 4 kB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.3632, allocations: 23.97 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.3633, allocations: 39.86 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3634, allocations: 15.98 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.3635, allocations: 11.98 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3637, allocations: 31.84 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3637, allocations: 4 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.3637, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3637, allocations: 3.984 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.3638, allocations: 37.64 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.541e-05/0.3639, allocations: 31.92 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3639, allocations: 3.938 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3639, allocations: 0 / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3639, allocations: 3.938 kB / 1.061 GB, free: 3.492 MB / 0.8106 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.000534/0.3645, allocations: 359.7 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3645, allocations: 11.97 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3645, allocations: 8.844 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3647, allocations: 168.4 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3647, allocations: 16.3 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3647, allocations: 384 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.365, allocations: 77.78 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.365, allocations: 0 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.365, allocations: 0 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.365, allocations: 4 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.3652, allocations: 67.88 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3658, allocations: 292.7 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.366, allocations: 66.59 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3661, allocations: 40.86 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3662, allocations: 4 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3662, allocations: 34.5 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3662, allocations: 0 / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004625/0.3667, allocations: 129.6 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3667, allocations: 51.41 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.3668, allocations: 105.8 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3668, allocations: 25.7 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.3669, allocations: 92.12 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3669, allocations: 11.97 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.367, allocations: 9.719 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3671, allocations: 326.8 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3672, allocations: 23.98 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3673, allocations: 31.97 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3675, allocations: 72.75 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3676, allocations: 0 / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002691/0.3678, allocations: 97.56 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3679, allocations: 11.94 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3679, allocations: 0 / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3679, allocations: 3.984 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.368, allocations: 15.98 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3681, allocations: 0 / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.3681, allocations: 8 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3682, allocations: 4 kB / 1.063 GB, free: 1.141 MB / 0.8106 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.309e-05/0.3682, allocations: 121.7 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.3683, allocations: 4 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.3683, allocations: 4.234 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3683, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3683, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3683, allocations: 3.984 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3685, allocations: 181.6 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3685, allocations: 4 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3686, allocations: 15.98 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3687, allocations: 3.938 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3687, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3687, allocations: 256 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3687, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.369, allocations: 203.3 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3691, allocations: 81.05 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3691, allocations: 4 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3692, allocations: 11.98 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.3693, allocations: 11.92 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3693, allocations: 4 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.3693, allocations: 91.27 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3693, allocations: 0 / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002215/0.3696, allocations: 4 kB / 1.064 GB, free: 316 kB / 0.8106 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.0001437/0.3697, allocations: 107.2 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.37, allocations: 67.94 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.37, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3701, allocations: 39.92 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3704, allocations: 3.984 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3708, allocations: 170.5 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3711, allocations: 0.6809 MB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.3712, allocations: 11.44 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3712, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.002411/0.3736, allocations: 0.8107 MB / 1.065 GB, free: 14.36 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches