Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.921/1.921, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.81e-05, allocations: 2.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001272/0.00129, allocations: 0.7185 MB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.00212, allocations: 0.8849 MB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.002156, allocations: 0.875 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.002184, allocations: 3.938 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.002257, allocations: 10.25 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.002379, allocations: 27.89 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.934e-05/0.002449, allocations: 37.78 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.002526, allocations: 15.98 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.002612, allocations: 31.14 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.002664, allocations: 23.62 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.002683, allocations: 4 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-06/0.002692, allocations: 4 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.002714, allocations: 5.641 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.002737, allocations: 17.5 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.065e-05/0.002827, allocations: 43.58 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002829, allocations: 0 / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00283, allocations: 1.094 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.002833, allocations: 0 / 0.7618 GB, free: 4.84 MB / 0.7136 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.0002936/0.003127, allocations: 241.8 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.003156, allocations: 8.031 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.00318, allocations: 8.938 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.003258, allocations: 114.4 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.003275, allocations: 5.828 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.003286, allocations: 384 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.003391, allocations: 67.95 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.003399, allocations: 7.938 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.003406, allocations: 0.8125 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.003411, allocations: 3.938 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.003439, allocations: 13.2 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.003656, allocations: 169.3 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.003721, allocations: 31.59 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.003746, allocations: 16.86 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.003759, allocations: 8.438 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.003778, allocations: 32.34 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.003779, allocations: 0 / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001041/0.003883, allocations: 45.69 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.003911, allocations: 55.39 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.003966, allocations: 110.8 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.003975, allocations: 26.92 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.004008, allocations: 96.72 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.004022, allocations: 7.953 kB / 0.7628 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.004048, allocations: 18.31 kB / 0.7628 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.004113, allocations: 323.8 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.004125, allocations: 4 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.004137, allocations: 7.938 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.004164, allocations: 17.88 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004166, allocations: 0 / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.01e-05/0.004216, allocations: 62.09 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.004226, allocations: 4.75 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-06/0.004229, allocations: 0 / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004239, allocations: 1.156 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.0043, allocations: 8 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.004303, allocations: 1.031 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.004327, allocations: 11.92 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.00433, allocations: 0 / 0.7633 GB, free: 3.199 MB / 0.7136 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 4.928e-05/0.00438, allocations: 112.3 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.004393, allocations: 3.938 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.004412, allocations: 11.98 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.004414, allocations: 4 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.004415, allocations: 0 / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.004417, allocations: 0 / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.126e-05/0.004498, allocations: 79.64 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.004499, allocations: 0 / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.004526, allocations: 12 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004527, allocations: 0 / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.004533, allocations: 7.938 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.004535, allocations: 5.016 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.004535, allocations: 4 kB / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.433e-05/0.004609, allocations: 136.4 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.00462, allocations: 7.938 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.004633, allocations: 3.938 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.004668, allocations: 9.141 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.004702, allocations: 7.984 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.004706, allocations: 4 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.287e-05/0.004719, allocations: 15.91 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.004719, allocations: 0 / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001138/0.004832, allocations: 12 kB / 0.7637 GB, free: 2.73 MB / 0.7136 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 6.323e-05/0.004896, allocations: 76.41 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.004956, allocations: 32.77 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.004957, allocations: 2.5 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.00498, allocations: 16.8 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.0051, allocations: 12.84 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.005303, allocations: 128.5 kB / 0.7639 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.005333, allocations: 61.62 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.005357, allocations: 4 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.005403, allocations: 52.25 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.005403, allocations: 0 / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of Templates: time 0.002161/0.007564, allocations: 0.9703 MB / 0.765 GB, free: 1.375 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.004327958915383]