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.0008926/0.0008926, allocations: 99.42 kB / 16.02 MB, free: 76 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.001168/0.001168, allocations: 185.5 kB / 16.92 MB, free: 6.688 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.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.359 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.48/2.48, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7685, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0009743/0.7695, allocations: 0.4937 MB / 0.9562 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.7704, allocations: 0.8524 MB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.7705, allocations: 1.188 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.7705, allocations: 7.922 kB / 0.957 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.7706, allocations: 5.875 kB / 0.957 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.7707, allocations: 38.61 kB / 0.9571 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.7708, allocations: 78.39 kB / 0.9572 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.771, allocations: 21.03 kB / 0.9572 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.7711, allocations: 35.73 kB / 0.9572 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.7712, allocations: 44.11 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.7712, allocations: 4.125 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.7712, allocations: 2.906 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.7712, allocations: 18.44 kB / 0.9573 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.7713, allocations: 56.31 kB / 0.9573 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.202e-05/0.7714, allocations: 55.62 kB / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7714, allocations: 0 / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7714, allocations: 3.938 kB / 0.9574 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.7714, allocations: 0 / 0.9574 GB, free: 6.348 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.0005257/0.7719, allocations: 394.6 kB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.772, allocations: 9.125 kB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.772, allocations: 9.375 kB / 0.9578 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.7721, allocations: 179.8 kB / 0.958 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7722, allocations: 3.812 kB / 0.958 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.7722, allocations: 7.719 kB / 0.958 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.7725, allocations: 122.1 kB / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7725, allocations: 1.125 kB / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.7726, allocations: 0 / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7726, allocations: 2.094 kB / 0.9581 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.773, allocations: 119 kB / 0.9582 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.7734, allocations: 351.1 kB / 0.9585 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.7741, allocations: 128.2 kB / 0.9587 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.7743, allocations: 75.33 kB / 0.9587 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.7743, allocations: 1.562 kB / 0.9587 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7743, allocations: 34.5 kB / 0.9588 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7743, allocations: 5.375 kB / 0.9588 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006868/0.775, allocations: 212 kB / 0.959 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.7751, allocations: 52.59 kB / 0.959 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.7752, allocations: 121.5 kB / 0.9591 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.7752, allocations: 30.98 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.7752, allocations: 99.16 kB / 0.9593 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.7753, allocations: 18.91 kB / 0.9593 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.7753, allocations: 15.2 kB / 0.9593 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.7754, allocations: 321.8 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.7755, allocations: 53.39 kB / 0.9597 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.7757, allocations: 62.28 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.7761, allocations: 125 kB / 0.9598 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7761, allocations: 0 / 0.9598 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004187/0.7765, allocations: 163.9 kB / 0.96 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7766, allocations: 5.5 kB / 0.96 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7766, allocations: 0 / 0.96 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7766, allocations: 5.375 kB / 0.96 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.7768, allocations: 28.59 kB / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.7768, allocations: 0 / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.7769, allocations: 24.23 kB / 0.96 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.7769, allocations: 6.75 kB / 0.9601 GB, free: 4.102 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 7.513e-05/0.777, allocations: 124.5 kB / 0.9602 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.777, allocations: 12.02 kB / 0.9602 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.7771, allocations: 9.75 kB / 0.9602 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7771, allocations: 3.938 kB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7771, allocations: 1.375 kB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7771, allocations: 3.938 kB / 0.9602 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.7773, allocations: 199.5 kB / 0.9604 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7773, allocations: 0 / 0.9604 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.7774, allocations: 33.97 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7774, allocations: 0 / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7775, allocations: 1.375 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7775, allocations: 0 / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7775, allocations: 1.375 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.7779, allocations: 261.6 kB / 0.9607 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.778, allocations: 83.77 kB / 0.9608 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.778, allocations: 1.375 kB / 0.9608 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.7782, allocations: 22.97 kB / 0.9608 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.7782, allocations: 22.72 kB / 0.9608 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.7782, allocations: 6.594 kB / 0.9608 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.7783, allocations: 93.89 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7783, allocations: 0 / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002417/0.7785, allocations: 18.84 kB / 0.9609 GB, free: 3.297 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.0001016/0.7786, allocations: 100.6 kB / 0.961 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.7791, allocations: 129.1 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7791, allocations: 1.094 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.7793, allocations: 66.44 kB / 0.9612 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.7796, allocations: 12.38 kB / 0.9612 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.7801, allocations: 230.9 kB / 0.9614 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.7802, allocations: 0.6902 MB / 0.9621 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.7803, allocations: 16.59 kB / 0.9621 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7803, allocations: 0.7812 kB / 0.9621 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.002629/0.7829, allocations: 1.219 MB / 0.9633 GB, free: 1.574 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