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.001493/0.001493, allocations: 100.1 kB / 15.88 MB, free: 12 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.001699/0.001699, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.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.34/2.34, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.646, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001779/0.6479, allocations: 0.8363 MB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006946/0.6486, allocations: 0.8572 MB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.6486, allocations: 1.375 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.6487, allocations: 3.938 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.6488, allocations: 9.312 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.6489, allocations: 38.83 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.649, allocations: 82.14 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.6491, allocations: 21.61 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.6492, allocations: 40.2 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.6492, allocations: 48.95 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.6493, allocations: 4.812 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.6493, allocations: 5.094 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.6493, allocations: 15.06 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.6493, allocations: 30.52 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.058e-05/0.6494, allocations: 59.55 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6494, allocations: 0 / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6494, allocations: 1.75 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.6494, allocations: 0 / 0.9516 GB, free: 7.562 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.0005432/0.65, allocations: 401.2 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.65, allocations: 8.375 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.6501, allocations: 8.875 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.6502, allocations: 185.8 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.6502, allocations: 7.125 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.6502, allocations: 4.031 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.6505, allocations: 104.1 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6505, allocations: 4 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6506, allocations: 1.375 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.6506, allocations: 1.25 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.6509, allocations: 95.12 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.6514, allocations: 355.5 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.652, allocations: 114.4 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.6522, allocations: 65.91 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.6522, allocations: 5.125 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.6522, allocations: 31.84 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6523, allocations: 0 / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006225/0.6529, allocations: 179.4 kB / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.6529, allocations: 52.94 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.653, allocations: 129.2 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.653, allocations: 26.86 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.653, allocations: 90.09 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.6531, allocations: 26.86 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.6531, allocations: 23.89 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.6532, allocations: 325 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.6534, allocations: 51.08 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.6535, allocations: 49.45 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.6539, allocations: 101.4 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6539, allocations: 5.062 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003838/0.6543, allocations: 131.8 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6543, allocations: 5.344 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6543, allocations: 0 / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6543, allocations: 5.25 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.6545, allocations: 27 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6545, allocations: 1.219 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.6547, allocations: 23.53 kB / 0.9541 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.6547, allocations: 1.344 kB / 0.9541 GB, free: 5.309 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.257e-05/0.6547, allocations: 113.6 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.6548, allocations: 11.95 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.6548, allocations: 9.844 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6548, allocations: 0 / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6548, allocations: 1.5 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6548, allocations: 7.922 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.655, allocations: 199.4 kB / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.655, allocations: 0 / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.6552, allocations: 28.53 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6552, allocations: 0 / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6552, allocations: 5.078 kB / 0.9545 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6552, allocations: 1.094 kB / 0.9545 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6552, allocations: 0 / 0.9545 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.6557, allocations: 243.2 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.6557, allocations: 79.89 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.6557, allocations: 4 kB / 0.9548 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.6559, allocations: 11.58 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.656, allocations: 18.66 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.656, allocations: 11.06 kB / 0.9548 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.656, allocations: 100.9 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.656, allocations: 0 / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002393/0.6563, allocations: 19.81 kB / 0.9549 GB, free: 4.512 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 9.774e-05/0.6564, allocations: 104.6 kB / 0.955 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.6568, allocations: 101.1 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6568, allocations: 5.594 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.657, allocations: 59.47 kB / 0.9552 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.6573, allocations: 13.91 kB / 0.9552 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.6577, allocations: 219.1 kB / 0.9554 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.6578, allocations: 0.6865 MB / 0.9561 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.6579, allocations: 24.92 kB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6579, allocations: 0 / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Templates: time 0.002427/0.6603, allocations: 1.23 MB / 0.9573 GB, free: 2.773 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/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