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.001488/0.001488, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001661/0.001661, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 62.95 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3047, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002157/0.3069, allocations: 0.7767 MB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.308, allocations: 0.8605 MB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.308, allocations: 4 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.3081, allocations: 7.922 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.3082, allocations: 7.875 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.3083, allocations: 43.94 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3085, allocations: 83.77 kB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3086, allocations: 23.98 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.3087, allocations: 43.83 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.3088, allocations: 43.83 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.3088, allocations: 12 kB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.3089, allocations: 8 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.3089, allocations: 19.97 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.3089, allocations: 39.73 kB / 0.9531 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3091, allocations: 91.66 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3091, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3091, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3091, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7325 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.0006448/0.3098, allocations: 399.1 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3098, allocations: 8.031 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.3099, allocations: 8.844 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.31, allocations: 176.2 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.31, allocations: 4.375 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3101, allocations: 20.23 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3104, allocations: 109.7 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3104, allocations: 0 / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3104, allocations: 4 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3104, allocations: 4 kB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3108, allocations: 87.91 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.3114, allocations: 348.6 kB / 0.9543 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.312, allocations: 122.6 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.3122, allocations: 56.81 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3122, allocations: 0 / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3122, allocations: 34.56 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3122, allocations: 4 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006211/0.3129, allocations: 185.4 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3129, allocations: 51.41 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.313, allocations: 125.7 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3131, allocations: 33.7 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3131, allocations: 99.98 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3131, allocations: 15.75 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.3132, allocations: 29.7 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3133, allocations: 318.8 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3135, allocations: 43.95 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3137, allocations: 51.95 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.314, allocations: 92.72 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.314, allocations: 4 kB / 0.9555 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003643/0.3144, allocations: 141.5 kB / 0.9556 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3144, allocations: 4 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3144, allocations: 4 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3144, allocations: 0 / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3146, allocations: 23.97 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3146, allocations: 4.547 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3147, allocations: 19.92 kB / 0.9557 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3147, allocations: 3.984 kB / 0.9557 GB, free: 3.18 MB / 0.7325 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 0.0001072/0.3148, allocations: 121.8 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3149, allocations: 7.906 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.3149, allocations: 8.375 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3149, allocations: 4 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3149, allocations: 0 / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3149, allocations: 3.938 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3152, allocations: 197.5 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3152, allocations: 0 / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.3153, allocations: 23.97 kB / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3154, allocations: 8 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3154, allocations: 3.938 kB / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3154, allocations: 0 / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3154, allocations: 0 / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3158, allocations: 247.2 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.3159, allocations: 93 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3159, allocations: 3.938 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3161, allocations: 11.98 kB / 0.9564 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.3161, allocations: 19.97 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3162, allocations: 11.94 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.3162, allocations: 91.27 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3162, allocations: 0 / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002367/0.3165, allocations: 12 kB / 0.9565 GB, free: 2.234 MB / 0.7325 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.0001325/0.3166, allocations: 107.2 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.317, allocations: 95.91 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.317, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.3172, allocations: 67.88 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3175, allocations: 15.98 kB / 0.9568 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.318, allocations: 173 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3183, allocations: 0.6961 MB / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.085e-05/0.3184, allocations: 8 kB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.3184, allocations: 19.42 kB / 0.9576 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.3184, allocations: 0 / 0.9576 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of Templates: time 0.004137/0.3226, allocations: 1.575 MB / 0.9592 GB, free: 15.43 MB / 0.7481 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 -s cvode -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