Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002387/0.002387, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002723/0.002723, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.932/2.932, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.7864 GB, free: 11.61 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.353e-05, allocations: 6.25 kB / 0.7865 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001993/0.002027, allocations: 0.6571 MB / 0.7871 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003306, allocations: 0.8173 MB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.003347, allocations: 4 kB / 0.7879 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.003377, allocations: 4.781 kB / 0.7879 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.003461, allocations: 3.938 kB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.123e-05/0.003532, allocations: 8.922 kB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.00361, allocations: 23.92 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003715, allocations: 9.234 kB / 0.7879 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.003805, allocations: 12 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.003846, allocations: 7.984 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.003866, allocations: 1.531 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-06/0.003872, allocations: 4 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.003894, allocations: 7.938 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.003922, allocations: 7.984 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.004028, allocations: 28.91 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00403, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004031, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004035, allocations: 0.625 kB / 0.788 GB, free: 10.02 MB / 0.698 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.0005531/0.004588, allocations: 360.3 kB / 0.7884 GB, free: 9.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.004632, allocations: 13.44 kB / 0.7884 GB, free: 9.617 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.004679, allocations: 4.891 kB / 0.7884 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004805, allocations: 112.6 kB / 0.7885 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004817, allocations: 1.469 kB / 0.7885 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004828, allocations: 4.375 kB / 0.7885 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.004979, allocations: 46.23 kB / 0.7885 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.004991, allocations: 1.219 kB / 0.7885 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.005001, allocations: 384 / 0.7885 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.005011, allocations: 8.312 kB / 0.7885 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.005135, allocations: 29.05 kB / 0.7886 GB, free: 9.387 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.005543, allocations: 259.8 kB / 0.7888 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.005657, allocations: 36.42 kB / 0.7888 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.005727, allocations: 23.75 kB / 0.7889 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.005742, allocations: 2.875 kB / 0.7889 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.005778, allocations: 33.39 kB / 0.7889 GB, free: 8.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005779, allocations: 0 / 0.7889 GB, free: 8.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003045/0.006084, allocations: 77.5 kB / 0.789 GB, free: 8.898 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.006131, allocations: 55.41 kB / 0.789 GB, free: 8.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.006264, allocations: 161.9 kB / 0.7892 GB, free: 8.656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.006281, allocations: 30.42 kB / 0.7892 GB, free: 8.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.00636, allocations: 130.9 kB / 0.7893 GB, free: 8.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.006381, allocations: 5.609 kB / 0.7893 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.006423, allocations: 23.38 kB / 0.7894 GB, free: 8.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.006678, allocations: 496.1 kB / 0.7898 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.006735, allocations: 12 kB / 0.7899 GB, free: 7.945 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.00678, allocations: 13.17 kB / 0.7899 GB, free: 7.934 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.006892, allocations: 33.2 kB / 0.7899 GB, free: 7.898 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006894, allocations: 0 / 0.7899 GB, free: 7.898 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001476/0.007042, allocations: 53.69 kB / 0.7899 GB, free: 7.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.007056, allocations: 5.781 kB / 0.79 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.007063, allocations: 3.938 kB / 0.79 GB, free: 7.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.007076, allocations: 0 / 0.79 GB, free: 7.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.007151, allocations: 11.98 kB / 0.79 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007156, allocations: 0.8125 kB / 0.79 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.007188, allocations: 4 kB / 0.79 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.007193, allocations: 0.5312 kB / 0.79 GB, free: 7.816 MB / 0.698 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.000112/0.007305, allocations: 157.3 kB / 0.7901 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.007329, allocations: 3.953 kB / 0.7901 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.00736, allocations: 15.78 kB / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007363, allocations: 1.312 kB / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.007365, allocations: 0 / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.00737, allocations: 3.984 kB / 0.7901 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.007534, allocations: 116.6 kB / 0.7903 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.007537, allocations: 4.531 kB / 0.7903 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.007581, allocations: 13.3 kB / 0.7903 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007584, allocations: 0 / 0.7903 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.00759, allocations: 0 / 0.7903 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.007594, allocations: 3.938 kB / 0.7903 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007595, allocations: 1.406 kB / 0.7903 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.007859, allocations: 195.9 kB / 0.7905 GB, free: 7.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.007869, allocations: 5.188 kB / 0.7905 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.007887, allocations: 7.984 kB / 0.7905 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.007949, allocations: 3.938 kB / 0.7905 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.007992, allocations: 9.75 kB / 0.7905 GB, free: 7.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.007995, allocations: 0 / 0.7905 GB, free: 7.227 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.958e-05/0.008075, allocations: 127.2 kB / 0.7906 GB, free: 7.102 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008075, allocations: 0 / 0.7906 GB, free: 7.102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002045/0.008279, allocations: 4.812 kB / 0.7906 GB, free: 7.098 MB / 0.698 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.0001367/0.008416, allocations: 105.2 kB / 0.7907 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.008584, allocations: 31.67 kB / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008586, allocations: 0 / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.008653, allocations: 20.42 kB / 0.7908 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.008921, allocations: 11.44 kB / 0.7908 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.009256, allocations: 114.4 kB / 0.7909 GB, free: 6.781 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.018e-05/0.009327, allocations: 59.34 kB / 0.7909 GB, free: 6.703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.009351, allocations: 7.938 kB / 0.791 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.009379, allocations: 8.5 kB / 0.791 GB, free: 6.688 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.00938, allocations: 0 / 0.791 GB, free: 6.688 MB / 0.698 GB Notification: Performance of Templates: time 0.003162/0.01254, allocations: 494.2 kB / 0.7914 GB, free: 6.227 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.024662939016707]