Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001085, allocations: 92.16 kB / 16.02 MB, free: 80 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.001573/0.001574, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.34 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.465/2.465, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.000364, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.7963, allocations: 142.4 MB / 0.9557 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.0008776/0.7973, allocations: 428.9 kB / 0.9561 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.7981, allocations: 0.8308 MB / 0.9569 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.7981, allocations: 1.094 kB / 0.9569 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.7981, allocations: 0 / 0.9569 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.7982, allocations: 5.156 kB / 0.957 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.7984, allocations: 24.44 kB / 0.957 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.7984, allocations: 42.06 kB / 0.957 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.7986, allocations: 9.594 kB / 0.957 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.7986, allocations: 18.89 kB / 0.957 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.7987, allocations: 21.81 kB / 0.9571 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.7987, allocations: 2.344 kB / 0.9571 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.7988, allocations: 1.281 kB / 0.9571 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.7988, allocations: 10.23 kB / 0.9571 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.7988, allocations: 41.23 kB / 0.9571 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.655e-05/0.7989, allocations: 37.72 kB / 0.9572 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7989, allocations: 0 / 0.9572 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7989, allocations: 1.062 kB / 0.9572 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7989, allocations: 3.938 kB / 0.9572 GB, free: 6.691 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004443/0.7994, allocations: 356.5 kB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7994, allocations: 10.12 kB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.7995, allocations: 11.12 kB / 0.9575 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.927e-05/0.7996, allocations: 162.4 kB / 0.9577 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7996, allocations: 2.375 kB / 0.9577 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.7996, allocations: 6.219 kB / 0.9577 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.7998, allocations: 73.03 kB / 0.9577 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.7998, allocations: 5.375 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.7999, allocations: 0 / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.7999, allocations: 5.125 kB / 0.9578 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.8001, allocations: 68.17 kB / 0.9578 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.8005, allocations: 294.2 kB / 0.9581 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.8007, allocations: 69.53 kB / 0.9582 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.8008, allocations: 40.59 kB / 0.9582 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.8009, allocations: 5.812 kB / 0.9582 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.8009, allocations: 34.5 kB / 0.9582 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.8009, allocations: 1.375 kB / 0.9582 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004204/0.8013, allocations: 122.8 kB / 0.9584 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.8013, allocations: 57.08 kB / 0.9584 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.8014, allocations: 106.2 kB / 0.9585 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.8014, allocations: 26.77 kB / 0.9585 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.8015, allocations: 90.92 kB / 0.9586 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.8015, allocations: 9.656 kB / 0.9586 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.8015, allocations: 14.81 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.8016, allocations: 325.3 kB / 0.959 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.8017, allocations: 24.7 kB / 0.959 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.8018, allocations: 30.22 kB / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.802, allocations: 72.94 kB / 0.9591 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.802, allocations: 0 / 0.9591 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002364/0.8023, allocations: 90.78 kB / 0.9592 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8023, allocations: 9.594 kB / 0.9592 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8023, allocations: 0 / 0.9592 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8023, allocations: 0 / 0.9592 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.8025, allocations: 26.81 kB / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8025, allocations: 1.875 kB / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.8025, allocations: 5.344 kB / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8026, allocations: 1.781 kB / 0.9592 GB, free: 4.734 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.478e-05/0.8026, allocations: 123.5 kB / 0.9593 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.8027, allocations: 5.844 kB / 0.9593 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.8027, allocations: 5.656 kB / 0.9593 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8027, allocations: 1.812 kB / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8027, allocations: 0 / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.8027, allocations: 0 / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.8028, allocations: 176.3 kB / 0.9595 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8029, allocations: 0 / 0.9595 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.803, allocations: 19.05 kB / 0.9595 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.803, allocations: 4 kB / 0.9595 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.803, allocations: 2.281 kB / 0.9595 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.803, allocations: 0 / 0.9595 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.803, allocations: 3.938 kB / 0.9595 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.8033, allocations: 197.5 kB / 0.9597 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.8033, allocations: 78.48 kB / 0.9598 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.8033, allocations: 5.375 kB / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.8034, allocations: 9.484 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.8035, allocations: 20.08 kB / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.8035, allocations: 1.375 kB / 0.9598 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.8035, allocations: 88.77 kB / 0.9599 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8035, allocations: 5.375 kB / 0.9599 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000221/0.8038, allocations: 5.5 kB / 0.9599 GB, free: 3.996 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001026/0.8039, allocations: 101.1 kB / 0.96 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.8041, allocations: 67.81 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8042, allocations: 5.375 kB / 0.9601 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.8043, allocations: 33.92 kB / 0.9601 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.8046, allocations: 2.75 kB / 0.9601 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.8049, allocations: 181.1 kB / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.805, allocations: 0.6812 MB / 0.961 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.8051, allocations: 10.19 kB / 0.961 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.8051, allocations: 0 / 0.961 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.002153/0.8072, allocations: 0.7887 MB / 0.9618 GB, free: 2.578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches