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.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.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.001419/0.001419, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.00148/0.00148, allocations: 185.5 kB / 17.34 MB, free: 5.754 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: 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.372/2.372, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8491, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001822/0.851, allocations: 0.6991 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.8519, allocations: 0.8427 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.852, allocations: 1.094 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.852, allocations: 9.203 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.8521, allocations: 5 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.8523, allocations: 23.25 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.8524, allocations: 45.19 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.8525, allocations: 15.8 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.8525, allocations: 23.19 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.8526, allocations: 24.52 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.8526, allocations: 3.938 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.8527, allocations: 9.219 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.8527, allocations: 11.95 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.8527, allocations: 22.03 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.8528, allocations: 43.23 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8528, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8529, allocations: 3.938 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8529, allocations: 1.156 kB / 1.09 GB, free: 4.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004661/0.8533, allocations: 352.4 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8534, allocations: 13.53 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.8534, allocations: 7.125 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.8535, allocations: 168.6 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.8536, allocations: 2.094 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.8536, allocations: 2.938 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.8538, allocations: 75.92 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.8538, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8538, allocations: 5.734 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8538, allocations: 1.125 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.854, allocations: 51.88 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.8544, allocations: 288.4 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.8546, allocations: 66.08 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.8548, allocations: 36.09 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.8548, allocations: 0 / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.8548, allocations: 36.22 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8548, allocations: 1.156 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004313/0.8553, allocations: 105.2 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.8553, allocations: 53.41 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.8554, allocations: 115.1 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.8554, allocations: 25.7 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.8554, allocations: 91.38 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.8554, allocations: 9.672 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.8555, allocations: 20.11 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.8555, allocations: 317.3 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.8556, allocations: 22.47 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.8558, allocations: 28.61 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.8559, allocations: 57.3 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.856, allocations: 1.156 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002259/0.8562, allocations: 87.44 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8562, allocations: 5.25 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8562, allocations: 0.75 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8562, allocations: 5.344 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.8564, allocations: 12.34 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8564, allocations: 0.7969 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.8564, allocations: 10.3 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.8565, allocations: 1.547 kB / 1.092 GB, free: 2.543 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: 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 5.857e-05/0.8565, allocations: 117.8 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.8566, allocations: 2.109 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.8566, allocations: 6.047 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8566, allocations: 9.266 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8566, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.8566, allocations: 1.688 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.8567, allocations: 181.2 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8568, allocations: 5.625 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.8569, allocations: 15.7 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8569, allocations: 2.719 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.8569, allocations: 0 / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8569, allocations: 0.5625 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8569, allocations: 1.438 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.8572, allocations: 190.9 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.8572, allocations: 79.98 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.8572, allocations: 0.6875 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.8573, allocations: 5.875 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.8574, allocations: 12.05 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.8574, allocations: 1.484 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.8574, allocations: 91.47 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8574, allocations: 0 / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002159/0.8576, allocations: 11.03 kB / 1.093 GB, free: 1.852 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: 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.0001036/0.8578, allocations: 99.14 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.8581, allocations: 60.45 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8581, allocations: 0 / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.8582, allocations: 32.75 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.8585, allocations: 13 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.8588, allocations: 162.8 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.8589, allocations: 0.682 MB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.859, allocations: 12.06 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.859, allocations: 0 / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.002673/0.8617, allocations: 0.8093 MB / 1.095 GB, free: 0.8242 MB / 0.8575 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