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.00125/0.001251, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00139/0.00139, allocations: 168.7 kB / 15.95 MB, free: 204 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.527/1.527, allocations: 223.3 MB / 240 MB, free: 5.434 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.562/2.562, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004522, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8721/0.8726, allocations: 142.4 MB / 0.9545 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0009635/0.8736, allocations: 487.5 kB / 0.9549 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.8745, allocations: 0.8554 MB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.8745, allocations: 4 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.8746, allocations: 5.281 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.8746, allocations: 7.922 kB / 0.9558 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.8748, allocations: 31.52 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.8749, allocations: 75.14 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.875, allocations: 20.42 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.8751, allocations: 32.03 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.8752, allocations: 37.42 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.8752, allocations: 2.344 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.8752, allocations: 3.562 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.8753, allocations: 18.56 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.8753, allocations: 37.52 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.207e-05/0.8754, allocations: 55.89 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8754, allocations: 0 / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8754, allocations: 0 / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.8754, allocations: 1.188 kB / 0.9561 GB, free: 6.395 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.0005062/0.8759, allocations: 397.7 kB / 0.9564 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.876, allocations: 9 kB / 0.9565 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.876, allocations: 7.781 kB / 0.9565 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.8761, allocations: 179.5 kB / 0.9566 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.8761, allocations: 10.69 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.8762, allocations: 4.156 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.8764, allocations: 114.6 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8765, allocations: 0 / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.8765, allocations: 0 / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.8765, allocations: 10.17 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.8769, allocations: 122.4 kB / 0.9569 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.8773, allocations: 343.3 kB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.8779, allocations: 130.7 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.8781, allocations: 71.16 kB / 0.9574 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.8781, allocations: 1.125 kB / 0.9574 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.8782, allocations: 38.52 kB / 0.9574 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8782, allocations: 0 / 0.9574 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006348/0.8788, allocations: 218.7 kB / 0.9577 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.8788, allocations: 51.41 kB / 0.9577 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.8789, allocations: 125.7 kB / 0.9578 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.8789, allocations: 30.88 kB / 0.9578 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.879, allocations: 86.36 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.879, allocations: 22.66 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.879, allocations: 1.062 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.8791, allocations: 319.9 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.8793, allocations: 57.42 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.8795, allocations: 59.17 kB / 0.9584 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.8796, allocations: 52.95 kB / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8796, allocations: 0 / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003691/0.88, allocations: 167.4 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.88, allocations: 8.812 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.88, allocations: 3.984 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8801, allocations: 5.438 kB / 0.9586 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.8802, allocations: 28.22 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8802, allocations: 1.531 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.8803, allocations: 19.2 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.8804, allocations: 3.469 kB / 0.9586 GB, free: 4.199 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 (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 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 6.798e-05/0.8804, allocations: 121.4 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.8805, allocations: 9.797 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.8805, allocations: 18.11 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8805, allocations: 1.719 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8805, allocations: 4 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8805, allocations: 0 / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.8807, allocations: 195.8 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.8807, allocations: 0 / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.8808, allocations: 37.38 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.8808, allocations: 3.953 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.8809, allocations: 5.812 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8809, allocations: 0 / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8809, allocations: 0 / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.8813, allocations: 254.9 kB / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.8813, allocations: 79.86 kB / 0.9593 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8813, allocations: 3.953 kB / 0.9594 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.8814, allocations: 28.34 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.8815, allocations: 14.86 kB / 0.9594 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.8815, allocations: 5.359 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.8816, allocations: 96.94 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.72e-07/0.8816, allocations: 1.375 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002262/0.8818, allocations: 26.78 kB / 0.9595 GB, free: 3.387 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 (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.0001076/0.8819, allocations: 104.9 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.8823, allocations: 123.5 kB / 0.9597 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8823, allocations: 1.375 kB / 0.9597 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.8825, allocations: 75.88 kB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.8828, allocations: 8.125 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.8832, allocations: 189.2 kB / 0.96 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.8833, allocations: 0.6904 MB / 0.9607 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.193e-05/0.8834, allocations: 11.06 kB / 0.9607 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.8835, allocations: 16.92 kB / 0.9607 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8835, allocations: 4 kB / 0.9607 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.003564/0.8871, allocations: 1.298 MB / 0.962 GB, free: 1.656 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/jenkins/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