Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002128/0.002128, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003147/0.003147, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.673/1.673, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.965/2.965, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 75.88 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.9159, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002322/0.9182, allocations: 0.7735 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.9194, allocations: 0.8351 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.9195, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.9195, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.9196, allocations: 3.938 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.9198, allocations: 23.98 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.9199, allocations: 51.84 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.92, allocations: 15.98 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.9201, allocations: 15.98 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.9201, allocations: 23.86 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.9202, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.9202, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.9202, allocations: 15.97 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.9203, allocations: 23.86 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.9204, allocations: 43.86 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9204, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9204, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9204, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 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.0006319/0.921, allocations: 361.3 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9211, allocations: 12.03 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.9211, allocations: 0.9375 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.9213, allocations: 176.3 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.9214, allocations: 4.375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.9214, allocations: 12.31 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.9216, allocations: 65.78 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.9216, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9216, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9216, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.9219, allocations: 51.89 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.9224, allocations: 284.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.9227, allocations: 70.45 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.9228, allocations: 36.91 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.9228, allocations: 12.06 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.9229, allocations: 30.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9229, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004523/0.9233, allocations: 113.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.9234, allocations: 51.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.9235, allocations: 109.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.9235, allocations: 29.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.9236, allocations: 88.14 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.9236, allocations: 15.73 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.9237, allocations: 17.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.9239, allocations: 322.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.924, allocations: 23.97 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.9241, allocations: 23.97 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.9243, allocations: 52.81 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9243, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000248/0.9245, allocations: 81.59 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.9246, allocations: 8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9246, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.9246, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.9247, allocations: 15.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9248, allocations: 320 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.9248, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.9249, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 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 0.0001114/0.925, allocations: 114.6 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.925, allocations: 11.89 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.925, allocations: 7.906 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.925, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.9251, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.9251, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.9253, allocations: 177.6 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9253, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.9254, allocations: 11.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9254, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9254, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9254, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9254, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.9258, allocations: 183.8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.9258, allocations: 85.02 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.9259, allocations: 11.88 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.926, allocations: 12.03 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.926, allocations: 11.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.9261, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.994e-05/0.9261, allocations: 83.27 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9261, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000248/0.9264, allocations: 15.98 kB / 1.021 GB, free: 13.8 MB / 0.7794 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.0001407/0.9265, allocations: 105.7 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.9268, allocations: 51.89 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9268, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.927, allocations: 35.97 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.9273, allocations: 8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.9278, allocations: 145.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.9282, allocations: 0.6807 MB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.324e-05/0.9282, allocations: 11.94 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.9283, allocations: 15.42 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9283, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.003546/0.9318, allocations: 0.7797 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches