Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002599/0.002599, allocations: 88.16 kB / 19.44 MB, free: 188 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.003262/0.003262, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.665/1.665, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.497/3.497, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.471e-05, allocations: 10.19 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002031/0.002066, allocations: 0.711 MB / 0.8782 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.00335, allocations: 0.8612 MB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.003391, allocations: 4.484 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.003416, allocations: 0.8438 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.418e-05/0.00351, allocations: 13.67 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.003675, allocations: 25.42 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.003783, allocations: 53.42 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.003891, allocations: 4 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003998, allocations: 31.91 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.004067, allocations: 21.28 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.004093, allocations: 4 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.004107, allocations: 7.938 kB / 0.8792 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.004128, allocations: 8.641 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.004158, allocations: 8 kB / 0.8792 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.004282, allocations: 49.84 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004285, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.51e-07/0.004286, allocations: 4 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.004291, allocations: 0 / 0.8792 GB, free: 4.863 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006012/0.004892, allocations: 380.1 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.004932, allocations: 11.47 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.004983, allocations: 8.938 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.005142, allocations: 120.5 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.005162, allocations: 4.375 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.005173, allocations: 384 / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.005356, allocations: 58.23 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.00537, allocations: 3.938 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005381, allocations: 0 / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.005388, allocations: 4 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.005545, allocations: 40.91 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.006062, allocations: 284.8 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.006261, allocations: 74.95 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.006356, allocations: 32.81 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.006374, allocations: 3.938 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.006416, allocations: 37.39 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006417, allocations: 1.125 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003579/0.006774, allocations: 98.48 kB / 0.8803 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.006826, allocations: 51.41 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.006987, allocations: 173.9 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.007011, allocations: 26.3 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.007104, allocations: 139.7 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.007125, allocations: 7.906 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.00718, allocations: 27.36 kB / 0.8807 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002776/0.007458, allocations: 0.4891 MB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.007533, allocations: 19.98 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.007596, allocations: 16.86 kB / 0.8813 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.007733, allocations: 44.77 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.007738, allocations: 3.938 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002083/0.007946, allocations: 78.7 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007961, allocations: 4 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007965, allocations: 0 / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.007982, allocations: 5.094 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.00809, allocations: 7.984 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.008094, allocations: 0 / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.008143, allocations: 8.922 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.008155, allocations: 3.984 kB / 0.8814 GB, free: 2.438 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: 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.0001223/0.008278, allocations: 165.3 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.008308, allocations: 4 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.008333, allocations: 4.531 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008335, allocations: 3.438 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008338, allocations: 0 / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.00834, allocations: 4 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.008511, allocations: 124.6 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.008519, allocations: 7.938 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.0086, allocations: 15.92 kB / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.008602, allocations: 0 / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.008613, allocations: 7.938 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008614, allocations: 4 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008615, allocations: 0.5938 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.008926, allocations: 224.8 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.008942, allocations: 11.94 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.008956, allocations: 1.531 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.009032, allocations: 4 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.009095, allocations: 11.98 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.009103, allocations: 7.984 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.00919, allocations: 131.2 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00919, allocations: 0 / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002052/0.009395, allocations: 4 kB / 0.8821 GB, free: 1.656 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: 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.0001406/0.009535, allocations: 103.1 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.009762, allocations: 51.66 kB / 0.8823 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009764, allocations: 0 / 0.8823 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.009867, allocations: 39.66 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01012, allocations: 12.62 kB / 0.8823 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.01053, allocations: 142.3 kB / 0.8824 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.688e-05/0.01061, allocations: 67.2 kB / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.01065, allocations: 4 kB / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.01071, allocations: 12.5 kB / 0.8825 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/0.01071, allocations: 4 kB / 0.8825 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of Templates: time 0.004043/0.01476, allocations: 0.9638 MB / 0.8835 GB, free: 216 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.753006528946571]