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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00159/0.00159, allocations: 108 kB / 15.61 MB, free: 152 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.001945/0.001945, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.593/1.593, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.981/2.981, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.69 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4613, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002374/0.4637, allocations: 0.6994 MB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.4649, allocations: 0.8334 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.465, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.465, allocations: 3.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.4651, allocations: 11.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.4653, allocations: 19.98 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.4655, allocations: 51.83 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4656, allocations: 12 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.4657, allocations: 19.92 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.4657, allocations: 31.84 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.4658, allocations: 4 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.4658, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.4658, allocations: 11.98 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.4659, allocations: 23.86 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.466, allocations: 51.84 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.466, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.365e-06/0.466, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.466, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 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.0005389/0.4665, allocations: 351.7 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4666, allocations: 8.031 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.4666, allocations: 8.781 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4668, allocations: 172.4 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4668, allocations: 8.375 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4668, allocations: 384 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.4671, allocations: 69.78 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4671, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4671, allocations: 7.922 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.4671, allocations: 0 / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.4673, allocations: 55.94 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.4678, allocations: 292.7 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.468, allocations: 70.47 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4682, allocations: 24.92 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.4682, allocations: 12 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4682, allocations: 30.56 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4682, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004236/0.4687, allocations: 109.6 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4687, allocations: 51.41 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.4688, allocations: 105.8 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4688, allocations: 29.7 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.4689, allocations: 88.22 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.4689, allocations: 11.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.469, allocations: 25.64 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4691, allocations: 322.7 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.4693, allocations: 23.97 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.4694, allocations: 23.98 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.4696, allocations: 56.81 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4696, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002609/0.4698, allocations: 85.64 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4699, allocations: 5.562 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4699, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4699, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.47, allocations: 19.92 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.47, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.4701, allocations: 7.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4701, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 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 8.193e-05/0.4702, allocations: 114.3 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.4703, allocations: 7.906 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.4703, allocations: 7.906 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4703, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4703, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4703, allocations: 8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.4705, allocations: 173.6 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4705, allocations: 4.266 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.4706, allocations: 12.23 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4706, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4707, allocations: 8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4707, allocations: 3.984 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4707, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.471, allocations: 195.4 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.4711, allocations: 84.95 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4711, allocations: 4 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.4712, allocations: 4 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.4713, allocations: 11.98 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4713, allocations: 3.984 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.4713, allocations: 83.28 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4713, allocations: 4 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002281/0.4716, allocations: 8 kB / 1.073 GB, free: 5.523 MB / 0.8262 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.000159/0.4717, allocations: 103.1 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.472, allocations: 59.94 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.472, allocations: 3.938 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4721, allocations: 31.97 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4725, allocations: 8 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.4728, allocations: 133.5 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4731, allocations: 0.6807 MB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.905e-05/0.4732, allocations: 8 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.4732, allocations: 15.44 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4732, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.00325/0.4765, allocations: 0.8855 MB / 1.074 GB, free: 3.543 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/jenkins/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