Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0008636/0.0008636, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002025, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006956/0.0006956, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.00162, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9383/0.9383, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09222/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.948/1.948, allocations: 378.4 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5055/2.453, allocations: 123.3 MB / 0.7283 GB, free: 5.758 MB / 0.698 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.807e-05, allocations: 8.5 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002094/0.002122, allocations: 0.7473 MB / 0.7305 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.003044, allocations: 0.8571 MB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.003073, allocations: 0 / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.003098, allocations: 4.438 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.003146, allocations: 12.44 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.173e-05/0.003197, allocations: 7.984 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.00329, allocations: 43.86 kB / 0.7314 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.003381, allocations: 16.62 kB / 0.7314 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.501e-05/0.003476, allocations: 30.94 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.003526, allocations: 18.52 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.003551, allocations: 4 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.00356, allocations: 4.719 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.003578, allocations: 5.531 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.003602, allocations: 11.86 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.003694, allocations: 26.33 kB / 0.7315 GB, free: 2.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.003708, allocations: 0 / 0.7315 GB, free: 2.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003709, allocations: 0 / 0.7315 GB, free: 2.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.003725, allocations: 0.9844 kB / 0.7315 GB, free: 2.621 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004192/0.004144, allocations: 253.2 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.004183, allocations: 9.469 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.004221, allocations: 8.938 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.004334, allocations: 121.7 kB / 0.7318 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.004345, allocations: 384 / 0.7318 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.004358, allocations: 5.25 kB / 0.7318 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.004563, allocations: 67.81 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004573, allocations: 192 / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.00458, allocations: 1.359 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004587, allocations: 0.9375 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.004625, allocations: 9.344 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.004854, allocations: 160.2 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.004906, allocations: 18.58 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.004926, allocations: 18.19 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.004934, allocations: 0 / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.004969, allocations: 34.55 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.004969, allocations: 0.5312 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001094/0.005079, allocations: 55.3 kB / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.005105, allocations: 55.41 kB / 0.7323 GB, free: 1.715 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.005159, allocations: 115.6 kB / 0.7324 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.005169, allocations: 29.7 kB / 0.7324 GB, free: 1.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.005199, allocations: 84.09 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.005216, allocations: 4.484 kB / 0.7325 GB, free: 1.465 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.00524, allocations: 14.44 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005349, allocations: 326.8 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.005357, allocations: 0.875 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.005367, allocations: 4.656 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.005396, allocations: 14.91 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.005398, allocations: 0 / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.529e-05/0.005444, allocations: 45.62 kB / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005456, allocations: 4 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005461, allocations: 0 / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.005474, allocations: 4.484 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.00555, allocations: 10.03 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.005557, allocations: 3.984 kB / 0.7329 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.00558, allocations: 4 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.005584, allocations: 4 kB / 0.7329 GB, free: 1.02 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 (3): * Single equations (assignments): 3 * 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.437e-05/0.005628, allocations: 111.2 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.00564, allocations: 4 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.005662, allocations: 11.98 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005664, allocations: 3.938 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005666, allocations: 1.219 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005668, allocations: 0 / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.577e-05/0.005744, allocations: 73.88 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005744, allocations: 0.8438 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.005768, allocations: 11.94 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.005776, allocations: 8.984 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.005776, allocations: 0 / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.00578, allocations: 0 / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005782, allocations: 4.672 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005783, allocations: 5.719 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.005853, allocations: 139.5 kB / 0.7333 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005861, allocations: 0 / 0.7333 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.005894, allocations: 4 kB / 0.7333 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.005923, allocations: 7.984 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005925, allocations: 5 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.573e-05/0.005941, allocations: 20.83 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005941, allocations: 0 / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001056/0.006047, allocations: 12.69 kB / 0.7333 GB, free: 0.5547 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 (3): * Single equations (assignments): 3 * 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 9.441e-05/0.006141, allocations: 81.11 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.91e-05/0.0062, allocations: 13.73 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.006205, allocations: 3.375 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.006299, allocations: 20.92 kB / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.006466, allocations: 64.19 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.006797, allocations: 128.7 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.00683, allocations: 59.34 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.006857, allocations: 6.453 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.006918, allocations: 51.38 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.006919, allocations: 0 / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of Templates: time 0.00214/0.009059, allocations: 0.6971 MB / 0.7344 GB, free: 15.41 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9174149530008435]