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.001214/0.001214, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001118/0.001118, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9532/0.9532, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 2.32/2.32, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] 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.184e-06/2.184e-06, allocations: 0 / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.042e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001212/0.001232, allocations: 0.6871 MB / 0.8905 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002241, allocations: 0.8314 MB / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.002277, allocations: 4 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.002302, allocations: 7.875 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.002363, allocations: 7.984 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.52e-05/0.002409, allocations: 0 / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.002461, allocations: 27.92 kB / 0.8914 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.002538, allocations: 7.984 kB / 0.8914 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.002611, allocations: 11.98 kB / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.986e-05/0.002641, allocations: 11.92 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.002655, allocations: 3.938 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.00266, allocations: 8 kB / 0.8914 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.002674, allocations: 4 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.002697, allocations: 4 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.337e-05/0.00276, allocations: 19.92 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002762, allocations: 0 / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.463e-06/0.002764, allocations: 3.984 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.002767, allocations: 0 / 0.8914 GB, free: 8.047 MB / 0.8542 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.0002763/0.003043, allocations: 360.6 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.003077, allocations: 8.625 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.0031, allocations: 12.89 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/0.003163, allocations: 112.6 kB / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.00317, allocations: 384 / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.003176, allocations: 384 / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.00326, allocations: 50.95 kB / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003268, allocations: 192 / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.003275, allocations: 4.359 kB / 0.892 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.00328, allocations: 384 / 0.892 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.0033, allocations: 11.88 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.003498, allocations: 228.4 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.003536, allocations: 31.05 kB / 0.8922 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.003553, allocations: 19.78 kB / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-06/0.003558, allocations: 0 / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.003576, allocations: 37.33 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003577, allocations: 0 / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001009/0.003678, allocations: 41.59 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.0037, allocations: 55.41 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.003757, allocations: 161.9 kB / 0.8925 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.003764, allocations: 25.7 kB / 0.8925 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.003801, allocations: 130.9 kB / 0.8927 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.003814, allocations: 8.078 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.003833, allocations: 19.38 kB / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.003926, allocations: 0.4884 MB / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-06/0.003933, allocations: 0 / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.003939, allocations: 0 / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/0.003959, allocations: 19.62 kB / 0.8932 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.003961, allocations: 0 / 0.8932 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.788e-05/0.003998, allocations: 33.7 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.004009, allocations: 8 kB / 0.8932 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.004012, allocations: 3.938 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.004026, allocations: 8.031 kB / 0.8932 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.004076, allocations: 7.984 kB / 0.8932 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004078, allocations: 0 / 0.8932 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.004094, allocations: 4.25 kB / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-06/0.004096, allocations: 0 / 0.8932 GB, free: 5.98 MB / 0.8542 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 5.28e-05/0.004149, allocations: 156.6 kB / 0.8934 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.004162, allocations: 12 kB / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.004181, allocations: 11.23 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.004183, allocations: 7.922 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.004185, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004187, allocations: 4 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.885e-05/0.004266, allocations: 101.2 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.004268, allocations: 4 kB / 0.8935 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.004283, allocations: 7.984 kB / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004284, allocations: 0 / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-06/0.004288, allocations: 0 / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004288, allocations: 0 / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004289, allocations: 0 / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.672e-05/0.004365, allocations: 187.9 kB / 0.8937 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.004371, allocations: 3.984 kB / 0.8937 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-06/0.004377, allocations: 4.031 kB / 0.8937 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.004405, allocations: 4 kB / 0.8937 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.004428, allocations: 0 / 0.8937 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.004431, allocations: 3.938 kB / 0.8937 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.004462, allocations: 131.1 kB / 0.8939 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004462, allocations: 0 / 0.8939 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001416/0.004603, allocations: 8 kB / 0.8939 GB, free: 5.289 MB / 0.8542 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 6.371e-05/0.004667, allocations: 91.25 kB / 0.894 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.083e-05/0.004718, allocations: 23.69 kB / 0.894 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.004719, allocations: 0 / 0.894 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.004736, allocations: 19.66 kB / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.004893, allocations: 4 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.005069, allocations: 106.4 kB / 0.8941 GB, free: 5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.005098, allocations: 59.3 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.331e-05/0.005111, allocations: 0 / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.005148, allocations: 74.27 kB / 0.8942 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/0.005148, allocations: 4 kB / 0.8942 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.001707/0.006855, allocations: 0.5157 MB / 0.8947 GB, free: 4.336 MB / 0.8542 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","",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.1281238230876625]