Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, 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.001992/0.001992, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.51/1.51, 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.514/2.514, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 11.94 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7319, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0009625/0.7329, allocations: 0.4943 MB / 0.9562 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.7338, allocations: 0.8512 MB / 0.957 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.7338, allocations: 1.938 kB / 0.957 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.7339, allocations: 3.938 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.734, allocations: 9.109 kB / 0.9571 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.7341, allocations: 38.92 kB / 0.9571 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.7342, allocations: 73.3 kB / 0.9572 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.7344, allocations: 22.5 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.7345, allocations: 39.92 kB / 0.9572 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.7346, allocations: 43.86 kB / 0.9573 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.7346, allocations: 3.875 kB / 0.9573 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.7346, allocations: 3.562 kB / 0.9573 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.7346, allocations: 14.78 kB / 0.9573 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.7347, allocations: 55.03 kB / 0.9573 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.7348, allocations: 59.12 kB / 0.9574 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7348, allocations: 1 kB / 0.9574 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7348, allocations: 0 / 0.9574 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7348, allocations: 0 / 0.9574 GB, free: 6.355 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.0005601/0.7354, allocations: 389.7 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7354, allocations: 9.875 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.7355, allocations: 8.812 kB / 0.9578 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.7356, allocations: 176 kB / 0.958 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.7356, allocations: 3.469 kB / 0.958 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.7357, allocations: 16.75 kB / 0.958 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.736, allocations: 125.2 kB / 0.9581 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.736, allocations: 0 / 0.9581 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.736, allocations: 5.062 kB / 0.9581 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.736, allocations: 1.219 kB / 0.9581 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.7364, allocations: 119.2 kB / 0.9582 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.7369, allocations: 346.8 kB / 0.9585 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.7376, allocations: 133 kB / 0.9587 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.7378, allocations: 70.5 kB / 0.9587 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.7378, allocations: 1.156 kB / 0.9587 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.7379, allocations: 31.72 kB / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7379, allocations: 0 / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007094/0.7386, allocations: 226.2 kB / 0.959 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.7386, allocations: 51.41 kB / 0.959 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.7387, allocations: 118.7 kB / 0.9591 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.7387, allocations: 29.64 kB / 0.9592 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.7388, allocations: 106.6 kB / 0.9593 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.7388, allocations: 14.78 kB / 0.9593 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.7388, allocations: 20.42 kB / 0.9593 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.7389, allocations: 321.2 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.7391, allocations: 53.58 kB / 0.9597 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.7393, allocations: 61.22 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.7397, allocations: 126.4 kB / 0.9598 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7397, allocations: 0 / 0.9598 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000423/0.7401, allocations: 155.3 kB / 0.96 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.7401, allocations: 5.5 kB / 0.96 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7401, allocations: 0 / 0.96 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7402, allocations: 5.359 kB / 0.96 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.7403, allocations: 32.59 kB / 0.96 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.7404, allocations: 3.938 kB / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.7405, allocations: 20.3 kB / 0.9601 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.7405, allocations: 2.75 kB / 0.9601 GB, free: 4.109 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,add1.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.106e-05/0.7406, allocations: 120.5 kB / 0.9602 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.7406, allocations: 8.031 kB / 0.9602 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.7406, allocations: 17.72 kB / 0.9602 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7407, allocations: 0 / 0.9602 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7407, allocations: 1.375 kB / 0.9602 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7407, allocations: 3.938 kB / 0.9602 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.7408, allocations: 203.5 kB / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7409, allocations: 0 / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.741, allocations: 33.97 kB / 0.9604 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.741, allocations: 0 / 0.9604 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.741, allocations: 1.375 kB / 0.9604 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.741, allocations: 0 / 0.9604 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7411, allocations: 1.375 kB / 0.9604 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.7415, allocations: 253.7 kB / 0.9607 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.7416, allocations: 87.7 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.7416, allocations: 5.375 kB / 0.9608 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.7417, allocations: 18.98 kB / 0.9608 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.7418, allocations: 18.84 kB / 0.9608 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.7418, allocations: 14.67 kB / 0.9608 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.7419, allocations: 97.27 kB / 0.9609 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7419, allocations: 0 / 0.9609 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002359/0.7421, allocations: 16.31 kB / 0.9609 GB, free: 3.305 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 (add1.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.0001144/0.7422, allocations: 107.8 kB / 0.961 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.7427, allocations: 121.6 kB / 0.9611 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7427, allocations: 0 / 0.9611 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.7429, allocations: 78.31 kB / 0.9612 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.7433, allocations: 12.53 kB / 0.9612 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.7437, allocations: 217.9 kB / 0.9614 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.7438, allocations: 0.6898 MB / 0.9621 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.7439, allocations: 24.48 kB / 0.9621 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7439, allocations: 0 / 0.9621 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.002724/0.7466, allocations: 1.209 MB / 0.9633 GB, free: 1.578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches