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.001444/0.001444, 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.001856/0.001856, allocations: 196.6 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.613/1.613, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 472.6 MB / 0.7451 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.67 kB / 0.9121 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.399, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002361/0.4014, allocations: 0.7011 MB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4026, allocations: 0.8411 MB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.4026, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.4027, allocations: 3.938 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.981e-05/0.4028, allocations: 3.938 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.403, allocations: 27.95 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.4031, allocations: 43.86 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.4032, allocations: 15.98 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.4033, allocations: 23.92 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.4034, allocations: 23.91 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.4034, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.4035, allocations: 8 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.4035, allocations: 11.98 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.4035, allocations: 19.86 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.4037, allocations: 47.86 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4037, allocations: 7.875 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4037, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.4037, allocations: 0 / 1.07 GB, free: 8.574 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.0006233/0.4043, allocations: 351.7 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4044, allocations: 12.03 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.4044, allocations: 4.844 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.4046, allocations: 172.4 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4046, allocations: 384 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4047, allocations: 4.375 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.4049, allocations: 69.78 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4049, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4049, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.4049, allocations: 4 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.4052, allocations: 55.89 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.4056, allocations: 296.6 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4058, allocations: 66.55 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.406, allocations: 32.91 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.406, allocations: 0 / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.406, allocations: 38.5 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.406, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004361/0.4065, allocations: 109.6 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.4065, allocations: 51.41 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.4066, allocations: 105.8 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4066, allocations: 25.7 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.4067, allocations: 88.14 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4067, allocations: 11.8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4068, allocations: 17.72 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4069, allocations: 318.7 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.407, allocations: 35.97 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.4071, allocations: 24.16 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.4073, allocations: 56.83 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4073, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002299/0.4076, allocations: 81.66 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4076, allocations: 12 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4076, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4076, allocations: 256 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.4078, allocations: 11.98 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4078, allocations: 7.984 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.4079, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4079, allocations: 8 kB / 1.072 GB, free: 6.316 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 0.0001091/0.408, allocations: 116 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.408, allocations: 15.89 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.4081, allocations: 11.84 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4081, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4081, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4081, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.4083, allocations: 177.6 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4083, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.4084, allocations: 11.98 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.4084, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4084, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4085, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4085, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.4088, allocations: 183.4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.4088, allocations: 84.95 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4089, allocations: 4 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.4089, allocations: 7.922 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.409, allocations: 15.98 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.409, allocations: 4 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.4091, allocations: 87.27 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4091, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002208/0.4093, allocations: 8 kB / 1.073 GB, free: 5.496 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.0001393/0.4095, allocations: 99.19 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.4097, allocations: 63.89 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4098, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4099, allocations: 35.91 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4102, allocations: 5.719 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.4106, allocations: 133.5 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4109, allocations: 0.6846 MB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.411, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.411, allocations: 19.42 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.411, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.003507/0.4145, allocations: 0.8854 MB / 1.075 GB, free: 3.516 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