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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0015/0.001501, allocations: 114.3 kB / 16.37 MB, free: 6.008 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.001679/0.001679, allocations: 189 kB / 17.3 MB, free: 5.621 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.586/1.586, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 69.16 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002152/0.3516, allocations: 0.7727 MB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3526, allocations: 0.8605 MB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.3527, allocations: 0 / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.3527, allocations: 11.92 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.3528, allocations: 15.86 kB / 0.9528 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.353, allocations: 35.95 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3532, allocations: 83.77 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3533, allocations: 27.97 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.3534, allocations: 39.86 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.3535, allocations: 47.81 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3535, allocations: 8 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.3536, allocations: 8 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.3536, allocations: 19.97 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.3537, allocations: 35.8 kB / 0.9531 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3538, allocations: 95.59 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3538, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3538, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3538, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 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.0006833/0.3545, allocations: 403.1 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3546, allocations: 8.031 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3546, allocations: 8.844 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3548, allocations: 176.2 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3548, allocations: 4.375 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3548, allocations: 8.375 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.3551, allocations: 109.7 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3552, allocations: 7.984 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3552, allocations: 3.984 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3552, allocations: 0 / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.3555, allocations: 95.91 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.3561, allocations: 344.6 kB / 0.9543 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.3567, allocations: 118.6 kB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3569, allocations: 56.81 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3569, allocations: 7.922 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.357, allocations: 38.56 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.357, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006155/0.3576, allocations: 181.4 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3576, allocations: 51.41 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3578, allocations: 125.8 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3578, allocations: 33.7 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.3578, allocations: 95.98 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3579, allocations: 19.75 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.3579, allocations: 25.7 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3581, allocations: 322.8 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3582, allocations: 43.95 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3584, allocations: 52.25 kB / 0.9554 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.3587, allocations: 96.77 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3587, allocations: 7.938 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003533/0.3591, allocations: 133.5 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3591, allocations: 4 kB / 0.9556 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3591, allocations: 4 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3591, allocations: 0 / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3593, allocations: 23.97 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3593, allocations: 0 / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3594, allocations: 23.92 kB / 0.9557 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3594, allocations: 7.984 kB / 0.9557 GB, free: 3.18 MB / 0.7325 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 9.427e-05/0.3595, allocations: 113.8 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3596, allocations: 7.906 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.3596, allocations: 12.31 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3596, allocations: 4 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3596, allocations: 0 / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3596, allocations: 3.938 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3598, allocations: 197.5 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3598, allocations: 0 / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.36, allocations: 27.97 kB / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.36, allocations: 4 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.36, allocations: 4 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.36, allocations: 0 / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.36, allocations: 0 / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.3605, allocations: 239.3 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.3605, allocations: 92.94 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3605, allocations: 0 / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3607, allocations: 15.98 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.3608, allocations: 19.92 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3608, allocations: 11.92 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.3609, allocations: 95.2 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002262/0.3611, allocations: 20 kB / 0.9565 GB, free: 2.234 MB / 0.7325 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.0001296/0.3612, allocations: 99.25 kB / 0.9566 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.3616, allocations: 95.91 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3617, allocations: 0 / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.3618, allocations: 71.88 kB / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3622, allocations: 8 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.3626, allocations: 170.4 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3629, allocations: 0.6961 MB / 0.9576 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.05e-05/0.3629, allocations: 8 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.363, allocations: 23.42 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.363, allocations: 0 / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of Templates: time 0.00406/0.3671, allocations: 1.593 MB / 0.9592 GB, free: 15.42 MB / 0.7481 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 -s cvode -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/jenkins1/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