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.001374/0.001374, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001648/0.001648, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.503/2.503, allocations: 390.2 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004234, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.822, allocations: 142.3 MB / 0.9535 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0008694/0.8229, allocations: 486 kB / 0.954 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.8238, allocations: 0.8551 MB / 0.9548 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.8239, allocations: 1.031 kB / 0.9548 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.8239, allocations: 1.469 kB / 0.9548 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.824, allocations: 5.594 kB / 0.9548 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.8241, allocations: 34.3 kB / 0.9549 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.8242, allocations: 45.02 kB / 0.9549 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.8243, allocations: 25.25 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.8244, allocations: 32.38 kB / 0.955 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.8245, allocations: 43.75 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.8245, allocations: 3.812 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.8245, allocations: 4.375 kB / 0.955 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.8245, allocations: 9.203 kB / 0.955 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.8246, allocations: 38.05 kB / 0.9551 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.781e-05/0.8246, allocations: 62.62 kB / 0.9551 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8247, allocations: 1.344 kB / 0.9551 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8247, allocations: 0 / 0.9551 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8247, allocations: 0 / 0.9551 GB, free: 6.75 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.0005475/0.8252, allocations: 394.9 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8253, allocations: 9.031 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.8253, allocations: 7.125 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.8254, allocations: 187.3 kB / 0.9557 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.8255, allocations: 7.906 kB / 0.9557 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.8255, allocations: 7.062 kB / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.8258, allocations: 113.8 kB / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.8258, allocations: 0 / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.8258, allocations: 1.344 kB / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8259, allocations: 5.109 kB / 0.9558 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.8262, allocations: 118.8 kB / 0.9559 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.8267, allocations: 347.4 kB / 0.9563 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.8274, allocations: 131.9 kB / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.8274, allocations: 0 / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.8274, allocations: 39.75 kB / 0.9564 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.8274, allocations: 0 / 0.9564 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007089/0.8281, allocations: 209.3 kB / 0.9566 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.8282, allocations: 52.81 kB / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.8282, allocations: 124.8 kB / 0.9568 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.8283, allocations: 25.7 kB / 0.9568 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.8283, allocations: 99.58 kB / 0.9569 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.8283, allocations: 18.38 kB / 0.9569 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.8284, allocations: 4 kB / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.8284, allocations: 316.6 kB / 0.9572 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.8286, allocations: 61.86 kB / 0.9573 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.8288, allocations: 54.14 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.829, allocations: 66.25 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.829, allocations: 0 / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004312/0.8295, allocations: 158.5 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8295, allocations: 5.5 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8295, allocations: 0 / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8295, allocations: 1.094 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.8297, allocations: 36.06 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8297, allocations: 1.188 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.8298, allocations: 20.19 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.8299, allocations: 2.094 kB / 0.9576 GB, free: 4.594 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.8299, allocations: 113.8 kB / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.83, allocations: 14.86 kB / 0.9577 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.83, allocations: 21.31 kB / 0.9578 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.83, allocations: 4.922 kB / 0.9578 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.83, allocations: 0.9688 kB / 0.9578 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.83, allocations: 0 / 0.9578 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.8302, allocations: 195.2 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8302, allocations: 1.25 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.8304, allocations: 28.12 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8304, allocations: 7.922 kB / 0.958 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.8304, allocations: 11.92 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8304, allocations: 0 / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8305, allocations: 0 / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.8309, allocations: 257.6 kB / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.831, allocations: 79.83 kB / 0.9583 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.831, allocations: 3.953 kB / 0.9583 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.8311, allocations: 23.58 kB / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.8312, allocations: 23.31 kB / 0.9584 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.8312, allocations: 2.031 kB / 0.9584 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.8313, allocations: 96.89 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8313, allocations: 1.156 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002442/0.8315, allocations: 23.62 kB / 0.9585 GB, free: 3.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.8317, allocations: 99.98 kB / 0.9586 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.8322, allocations: 124.5 kB / 0.9587 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8322, allocations: 5.469 kB / 0.9587 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.8324, allocations: 76.16 kB / 0.9588 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.8326, allocations: 8.062 kB / 0.9588 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.8331, allocations: 194.2 kB / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.8332, allocations: 0.6922 MB / 0.9597 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.04e-05/0.8333, allocations: 15.45 kB / 0.9597 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.8333, allocations: 14.97 kB / 0.9597 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8333, allocations: 1.906 kB / 0.9597 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of Templates: time 0.003663/0.837, allocations: 1.297 MB / 0.961 GB, free: 2.047 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches