Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.002348/0.002348, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002815/0.002815, allocations: 177.2 kB / 22.77 MB, free: 1.656 MB / 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.558/3.558, allocations: 429.4 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8775 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.216e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001852/0.001884, allocations: 0.6738 MB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.002999, allocations: 0.8247 MB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.003032, allocations: 0 / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.003057, allocations: 3.938 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.003127, allocations: 5.641 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.465e-05/0.003181, allocations: 7.984 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.003246, allocations: 22.45 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.311e-05/0.003329, allocations: 7.984 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.003401, allocations: 8.938 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.003444, allocations: 15.92 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.003459, allocations: 0 / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.003467, allocations: 5.125 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.003478, allocations: 3.938 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.003503, allocations: 11.98 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.858e-05/0.003581, allocations: 24.98 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003584, allocations: 0 / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003584, allocations: 0 / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003588, allocations: 5.062 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004896/0.004078, allocations: 360.3 kB / 0.8794 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.004116, allocations: 13 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.004151, allocations: 0.9375 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004277, allocations: 116.5 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004289, allocations: 1.312 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.004296, allocations: 384 / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.004438, allocations: 49.69 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004446, allocations: 192 / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.004454, allocations: 384 / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004458, allocations: 384 / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.004588, allocations: 27.86 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.004952, allocations: 251.8 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.005066, allocations: 39.05 kB / 0.8799 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.005143, allocations: 24.34 kB / 0.8799 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.005157, allocations: 1.312 kB / 0.8799 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.005193, allocations: 33.39 kB / 0.88 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005194, allocations: 0 / 0.88 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002823/0.005476, allocations: 74.7 kB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.005539, allocations: 55.41 kB / 0.8801 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.005671, allocations: 163 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.00569, allocations: 25.7 kB / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.005775, allocations: 138.8 kB / 0.8804 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.005789, allocations: 1.531 kB / 0.8804 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.005832, allocations: 19.38 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.006089, allocations: 0.4884 MB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.006148, allocations: 8 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.006198, allocations: 17.23 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.006304, allocations: 35.8 kB / 0.881 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006306, allocations: 256 / 0.881 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001473/0.006453, allocations: 57.64 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.006468, allocations: 4 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.006478, allocations: 7.938 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.006493, allocations: 3.984 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.006565, allocations: 7.984 kB / 0.881 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.006572, allocations: 4 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.006602, allocations: 3.938 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.006606, allocations: 4.031 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001143/0.00672, allocations: 160.6 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.006743, allocations: 0 / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.00677, allocations: 11.25 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.006772, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.006775, allocations: 3.938 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.006779, allocations: 3.984 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.006935, allocations: 112.6 kB / 0.8813 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006936, allocations: 0 / 0.8813 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.006984, allocations: 11.98 kB / 0.8813 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006986, allocations: 4 kB / 0.8813 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006992, allocations: 0 / 0.8813 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.006996, allocations: 3.938 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006997, allocations: 0 / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.007238, allocations: 203.9 kB / 0.8815 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.007244, allocations: 0 / 0.8815 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.007258, allocations: 7.984 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.00732, allocations: 3.938 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.007367, allocations: 4 kB / 0.8816 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-06/0.00737, allocations: 0 / 0.8816 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.804e-05/0.007448, allocations: 135.2 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007448, allocations: 3.938 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002049/0.007653, allocations: 4 kB / 0.8817 GB, free: 2.035 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001221/0.007775, allocations: 91.25 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.007941, allocations: 31.67 kB / 0.8818 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.007946, allocations: 4 kB / 0.8818 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.00801, allocations: 23.67 kB / 0.8818 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.008249, allocations: 8.125 kB / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.008569, allocations: 118.4 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.00864, allocations: 67.14 kB / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.008661, allocations: 0 / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.008698, allocations: 12.5 kB / 0.882 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.008698, allocations: 0 / 0.882 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of Templates: time 0.003425/0.01212, allocations: 0.4961 MB / 0.8825 GB, free: 1.141 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.666978065040894]