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.001575/0.001575, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002097/0.002097, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.466/2.466, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.88 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7498, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.003153/0.753, allocations: 0.8311 MB / 0.9499 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.7544, allocations: 0.8653 MB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.7545, allocations: 1.438 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.7545, allocations: 0 / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.7547, allocations: 3.938 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.7549, allocations: 39.48 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.7551, allocations: 86.89 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.7552, allocations: 26.52 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.7554, allocations: 40.33 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.7555, allocations: 48.7 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.7555, allocations: 8.594 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.781e-05/0.7556, allocations: 7.812 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.7556, allocations: 18.52 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.7557, allocations: 37.81 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.7558, allocations: 83 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7558, allocations: 1.5 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7559, allocations: 4 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7559, allocations: 0 / 0.9512 GB, free: 7.453 MB / 0.7169 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.0007907/0.7567, allocations: 398.2 kB / 0.9515 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.995e-05/0.7567, allocations: 8.281 kB / 0.9515 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.7568, allocations: 12.5 kB / 0.9516 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7569, allocations: 180.9 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.757, allocations: 4.062 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.757, allocations: 7.406 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.7573, allocations: 113.6 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7573, allocations: 0 / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.7573, allocations: 0 / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7574, allocations: 1.375 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.7577, allocations: 99.91 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.7582, allocations: 346.6 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.7589, allocations: 126.1 kB / 0.9524 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.7591, allocations: 62.11 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.7591, allocations: 0.9688 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.7592, allocations: 31.66 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.7592, allocations: 0 / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006576/0.7598, allocations: 187.9 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.7599, allocations: 52.69 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.76, allocations: 125.3 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.76, allocations: 26.73 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.7601, allocations: 99.58 kB / 0.9529 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.7601, allocations: 21.94 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.7601, allocations: 28.39 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.7602, allocations: 320 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.7604, allocations: 47.95 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.7606, allocations: 44.73 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.7609, allocations: 97.92 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7609, allocations: 4 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003951/0.7613, allocations: 135.8 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7613, allocations: 5.562 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7613, allocations: 3.938 kB / 0.9536 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.7614, allocations: 5.062 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.7615, allocations: 24.09 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.7615, allocations: 0 / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.7617, allocations: 23.31 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.7617, allocations: 3.094 kB / 0.9537 GB, free: 5.203 MB / 0.7169 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 6.836e-05/0.7618, allocations: 112.4 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.7618, allocations: 7.938 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.7618, allocations: 13.81 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7618, allocations: 0 / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.7618, allocations: 1.156 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7618, allocations: 7.922 kB / 0.9538 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.762, allocations: 196.3 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.762, allocations: 3.938 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.7622, allocations: 27.69 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7622, allocations: 1.125 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7622, allocations: 9.203 kB / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7622, allocations: 0 / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7622, allocations: 4.969 kB / 0.954 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.7627, allocations: 231.4 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.7627, allocations: 78.36 kB / 0.9543 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.7627, allocations: 1.281 kB / 0.9543 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.7629, allocations: 18.67 kB / 0.9544 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.7629, allocations: 22.84 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.763, allocations: 6.438 kB / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.763, allocations: 92.58 kB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.72e-07/0.763, allocations: 1.188 kB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002363/0.7633, allocations: 22.81 kB / 0.9545 GB, free: 4.41 MB / 0.7169 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.0001111/0.7634, allocations: 105 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.7638, allocations: 118.7 kB / 0.9547 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7638, allocations: 0 / 0.9547 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.764, allocations: 59.45 kB / 0.9548 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.7644, allocations: 13.12 kB / 0.9548 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.7648, allocations: 192.4 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.7649, allocations: 0.6944 MB / 0.9556 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.828e-05/0.765, allocations: 14.77 kB / 0.9557 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.7651, allocations: 18.28 kB / 0.9557 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7651, allocations: 0 / 0.9557 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.003779/0.7689, allocations: 1.424 MB / 0.9571 GB, free: 2.594 MB / 0.7169 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