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.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001453/0.001453, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.735/2.735, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 63.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8124, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002471/0.8149, allocations: 0.7696 MB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.8162, allocations: 0.8351 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.8162, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.8163, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.8164, allocations: 7.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.8166, allocations: 23.97 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.8167, allocations: 47.84 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.8169, allocations: 8 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.817, allocations: 19.92 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.8171, allocations: 27.89 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.8171, allocations: 0 / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.8171, allocations: 8 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.8171, allocations: 4 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.8172, allocations: 19.86 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.8173, allocations: 47.84 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8173, allocations: 0 / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8173, allocations: 3.938 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8174, allocations: 4 kB / 1.018 GB, free: 0.9375 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.0006012/0.818, allocations: 353.3 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.818, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.8181, allocations: 12.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.8182, allocations: 168.3 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.8183, allocations: 4.375 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.8183, allocations: 4.375 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.8185, allocations: 65.78 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8185, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8186, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8186, allocations: 7.938 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.8188, allocations: 55.88 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.8193, allocations: 292.8 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.8195, allocations: 58.55 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.8197, allocations: 40.91 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.8197, allocations: 0 / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.8197, allocations: 42.5 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.8197, allocations: 0 / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000437/0.8202, allocations: 109.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.8202, allocations: 59.41 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.8203, allocations: 109.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.8204, allocations: 25.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.8204, allocations: 92.12 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.8205, allocations: 11.75 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.8205, allocations: 17.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8206, allocations: 322.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.8207, allocations: 19.98 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.8209, allocations: 31.97 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.8211, allocations: 52.75 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8211, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002384/0.8213, allocations: 85.64 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8213, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8213, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8214, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.8215, allocations: 11.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8215, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.8216, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8216, allocations: 3.984 kB / 1.02 GB, free: 14.68 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.0001034/0.8217, allocations: 121.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.8218, allocations: 3.906 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8218, allocations: 11.91 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8218, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8218, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8218, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.822, allocations: 177.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.822, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.8221, allocations: 11.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8222, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.8222, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8222, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8222, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.8225, allocations: 183.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.8226, allocations: 84.95 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.8226, allocations: 7.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.8227, allocations: 7.938 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.8228, allocations: 7.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.8228, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.8229, allocations: 91.27 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8229, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002224/0.8231, allocations: 8 kB / 1.021 GB, free: 13.86 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.0001377/0.8232, allocations: 107.5 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.8235, allocations: 55.94 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8235, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.8236, allocations: 43.98 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.824, allocations: 8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.8244, allocations: 143.2 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.8247, allocations: 0.6848 MB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.877e-05/0.8247, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.8248, allocations: 11.44 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.8248, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.003132/0.8279, allocations: 0.7782 MB / 1.023 GB, free: 11.97 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=480 -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