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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001497/0.001497, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001595/0.001595, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 67.98 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4456, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002288/0.4479, allocations: 0.6995 MB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.449, allocations: 0.8391 MB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.4491, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.4492, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.4493, allocations: 3.938 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.4495, allocations: 23.91 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.4496, allocations: 43.92 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4497, allocations: 11.98 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.4498, allocations: 23.91 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.4499, allocations: 27.86 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.4499, allocations: 8 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.4499, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.4499, allocations: 11.98 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.45, allocations: 23.84 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.4501, allocations: 47.81 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4501, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4501, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4501, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 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.0005592/0.4507, allocations: 351.7 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4507, allocations: 12.62 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.4508, allocations: 4.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4509, allocations: 172.3 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.451, allocations: 384 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.451, allocations: 8.375 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.4512, allocations: 69.72 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4512, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4512, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4512, allocations: 4 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.4515, allocations: 55.94 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.4519, allocations: 288.8 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.4522, allocations: 70.47 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.4523, allocations: 36.91 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.4523, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4524, allocations: 30.56 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4524, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004328/0.4528, allocations: 109.5 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4529, allocations: 59.41 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.4529, allocations: 109.8 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.453, allocations: 25.7 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.453, allocations: 84.08 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.4531, allocations: 15.81 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.4531, allocations: 17.7 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4532, allocations: 318.8 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4534, allocations: 27.97 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4535, allocations: 23.97 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4537, allocations: 56.77 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4537, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000262/0.454, allocations: 85.89 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.454, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.454, allocations: 4 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.454, allocations: 4 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4541, allocations: 19.92 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4542, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.4542, allocations: 7.984 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.4543, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 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.71e-05/0.4543, allocations: 121.7 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.4544, allocations: 3.906 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.4544, allocations: 15.89 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4544, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4544, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4544, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4546, allocations: 181.6 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4546, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.4547, allocations: 11.98 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4548, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4548, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4548, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4548, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.4551, allocations: 191.7 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.4552, allocations: 84.95 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4552, allocations: 48 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4553, allocations: 15.97 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.4554, allocations: 7.984 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4554, allocations: 8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.4554, allocations: 83.28 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4555, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002235/0.4557, allocations: 8 kB / 1.069 GB, free: 10.12 MB / 0.8419 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.0001421/0.4558, allocations: 111.2 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4561, allocations: 51.89 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4561, allocations: 8 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.4562, allocations: 31.97 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4566, allocations: 11.7 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.457, allocations: 159.3 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.4572, allocations: 0.6807 MB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4573, allocations: 11.44 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.4573, allocations: 0 / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of Templates: time 0.00217/0.4595, allocations: 0.8071 MB / 1.07 GB, free: 8.199 MB / 0.8419 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