Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007698/0.007698, allocations: 97.97 kB / 15.73 MB, free: 6.031 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.001729/0.001729, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 62.86 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002022/0.3543, allocations: 0.6972 MB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3554, allocations: 0.8433 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3554, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.3555, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.3556, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.3558, allocations: 19.92 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.3559, allocations: 47.91 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.356, allocations: 15.97 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.3561, allocations: 23.92 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.3562, allocations: 27.86 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3562, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.3562, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.3563, allocations: 7.984 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.3563, allocations: 27.91 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3564, allocations: 39.81 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3564, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3564, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3565, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 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.0005527/0.357, allocations: 355.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3571, allocations: 8.031 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3571, allocations: 4.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3573, allocations: 172.3 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3573, allocations: 384 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3573, allocations: 8.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.3575, allocations: 73.52 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3575, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3576, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3576, allocations: 4 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.3578, allocations: 47.95 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.3583, allocations: 288.8 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.3585, allocations: 66.48 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3586, allocations: 36.91 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3586, allocations: 3.984 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3586, allocations: 30.56 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3586, allocations: 3.938 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004208/0.3591, allocations: 113.5 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3591, allocations: 59.41 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.3592, allocations: 109.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3592, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.3593, allocations: 84.08 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3593, allocations: 19.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3593, allocations: 13.72 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3595, allocations: 318.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3596, allocations: 27.97 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.3597, allocations: 23.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3599, allocations: 56.81 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3599, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002314/0.3601, allocations: 85.59 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3601, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3602, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3602, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3603, allocations: 15.97 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3603, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.3604, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3604, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 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.000101/0.3605, allocations: 121.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3605, allocations: 4.156 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.3606, allocations: 11.91 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3606, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3606, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3606, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3608, allocations: 185.6 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.3608, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.3609, allocations: 11.98 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3609, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3609, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3609, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3609, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3612, allocations: 187.4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3613, allocations: 81.02 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3613, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.3614, allocations: 11.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3615, allocations: 12.36 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3615, allocations: 7.938 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.3615, allocations: 87.27 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002181/0.3618, allocations: 15.88 kB / 1.092 GB, free: 12.65 MB / 0.8575 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.000127/0.3619, allocations: 103.8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3622, allocations: 51.89 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3622, allocations: 4 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3623, allocations: 35.97 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3626, allocations: 5.562 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.363, allocations: 137.6 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3632, allocations: 0.6807 MB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.3633, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.3633, allocations: 11.42 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3633, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of Templates: time 0.003449/0.3668, allocations: 0.8979 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches