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.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.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.001605/0.001605, allocations: 108.2 kB / 16.41 MB, free: 6.027 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.001795/0.001795, allocations: 186.7 kB / 17.34 MB, free: 5.633 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.525/1.525, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.405/2.405, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.09 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8359/0.8373, allocations: 140.3 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002461/0.8398, allocations: 0.7936 MB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.8413, allocations: 0.8549 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.8413, allocations: 1.156 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.8414, allocations: 13.09 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.8415, allocations: 10.08 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.8417, allocations: 42.12 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.8419, allocations: 86.88 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.842, allocations: 25.81 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.8422, allocations: 39.86 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.8423, allocations: 46.19 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.8423, allocations: 7.469 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-05/0.8423, allocations: 7.688 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.8424, allocations: 23.56 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.8425, allocations: 34.97 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.8427, allocations: 90.41 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8427, allocations: 1.531 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8427, allocations: 3.938 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8427, allocations: 0.75 kB / 1.091 GB, free: 4.164 MB / 0.8575 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.000691/0.8434, allocations: 387.9 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8434, allocations: 9.75 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.8435, allocations: 8.844 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.8436, allocations: 178.7 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.8437, allocations: 4.172 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.8437, allocations: 7.906 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.8441, allocations: 108.7 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8441, allocations: 3.938 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.8441, allocations: 1.922 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.8441, allocations: 1.062 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.8445, allocations: 98.11 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.8451, allocations: 348 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.8458, allocations: 121.9 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.8461, allocations: 58.77 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.8461, allocations: 5.703 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.8461, allocations: 31.69 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8461, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007602/0.8469, allocations: 190.3 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.8469, allocations: 56.91 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.8471, allocations: 128.1 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.8471, allocations: 25.7 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.8471, allocations: 97.33 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.8472, allocations: 15.91 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.8472, allocations: 28.16 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.8473, allocations: 318.5 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.8475, allocations: 48 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.8477, allocations: 48.42 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.8481, allocations: 92.22 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8481, allocations: 0 / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004334/0.8485, allocations: 147.3 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8486, allocations: 8.312 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.8486, allocations: 0.5156 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8486, allocations: 0.7812 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.8488, allocations: 24.02 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8488, allocations: 4.969 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.8489, allocations: 24 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.849, allocations: 3.953 kB / 1.093 GB, free: 2.211 MB / 0.8575 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.096e-05/0.849, allocations: 113.4 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.8491, allocations: 6.719 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.8491, allocations: 12.02 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8491, allocations: 1.156 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.8491, allocations: 0 / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8491, allocations: 9.625 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8493, allocations: 193.7 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8493, allocations: 4.609 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.8495, allocations: 27.5 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.8495, allocations: 1.688 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8495, allocations: 1.844 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8495, allocations: 5.047 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8495, allocations: 0.5156 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.85, allocations: 242.3 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.85, allocations: 84.89 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.8501, allocations: 1.641 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.8502, allocations: 16.11 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.8503, allocations: 19.69 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.8503, allocations: 8.219 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.8504, allocations: 92.75 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8504, allocations: 7.938 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002434/0.8506, allocations: 16.06 kB / 1.094 GB, free: 1.488 MB / 0.8575 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.0001173/0.8508, allocations: 109.7 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.8512, allocations: 99.97 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8512, allocations: 4 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.8515, allocations: 62.83 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.8518, allocations: 8.594 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.8523, allocations: 193.9 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.8525, allocations: 0.6935 MB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.8526, allocations: 20.11 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/0.8526, allocations: 1 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of Templates: time 0.003517/0.8561, allocations: 1.235 MB / 1.096 GB, free: 388 kB / 0.8575 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