Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00864/0.00864, allocations: 104.4 kB / 15.73 MB, free: 6.473 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.002214/0.002214, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.506/2.506, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.58 kB / 0.9509 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3515, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001982/0.3536, allocations: 0.7754 MB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3546, allocations: 0.8624 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3547, allocations: 3.938 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.3547, allocations: 7.875 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.3548, allocations: 11.88 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.355, allocations: 39.94 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3552, allocations: 83.83 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3553, allocations: 31.97 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.3554, allocations: 35.84 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.3555, allocations: 43.83 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3555, allocations: 8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.3555, allocations: 8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.3556, allocations: 27.91 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.3556, allocations: 31.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3558, allocations: 83.66 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3558, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3558, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3558, allocations: 0 / 1.09 GB, free: 15.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006601/0.3565, allocations: 395.2 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3565, allocations: 8.031 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3566, allocations: 8.844 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3567, allocations: 180.2 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3567, allocations: 8.375 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3568, allocations: 8.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3571, allocations: 109.5 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3571, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3571, allocations: 4 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3571, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.3575, allocations: 91.91 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.358, allocations: 352.6 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.3587, allocations: 118.5 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3589, allocations: 60.81 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3589, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3589, allocations: 34.56 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3589, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000678/0.3596, allocations: 189.4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3597, allocations: 55.41 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3598, allocations: 125.8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3598, allocations: 25.7 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3599, allocations: 95.98 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3599, allocations: 19.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.3599, allocations: 17.72 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.36, allocations: 326.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3602, allocations: 43.95 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3604, allocations: 43.95 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3608, allocations: 101.2 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3608, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003984/0.3612, allocations: 145.4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3612, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3612, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3612, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.3614, allocations: 23.97 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3614, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3615, allocations: 19.91 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3615, allocations: 0 / 1.092 GB, free: 12.64 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.569e-05/0.3616, allocations: 117.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3617, allocations: 7.906 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.3617, allocations: 16.31 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3617, allocations: 7.922 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3617, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3617, allocations: 11.94 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3619, allocations: 189.6 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3619, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3621, allocations: 23.97 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3621, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3621, allocations: 7.984 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3621, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3621, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.3626, allocations: 243.3 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.3626, allocations: 85 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3627, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3628, allocations: 7.984 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.3629, allocations: 31.91 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3629, allocations: 8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.363, allocations: 95.2 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002259/0.3632, allocations: 16 kB / 1.093 GB, free: 11.68 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001242/0.3633, allocations: 99.78 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3638, allocations: 107.9 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3638, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.364, allocations: 63.89 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3643, allocations: 10.05 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.3648, allocations: 170.4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.365, allocations: 0.7001 MB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.637e-05/0.3651, allocations: 15.73 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.3652, allocations: 19.44 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3652, allocations: 0 / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of Templates: time 0.004198/0.3694, allocations: 1.592 MB / 1.096 GB, free: 8.863 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches