Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 1.107 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.211, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002222/1.213, allocations: 0.7215 MB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001049/1.214, allocations: 0.8093 MB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/1.214, allocations: 0 / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/1.214, allocations: 8.719 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/1.214, allocations: 5.812 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.859e-05/1.215, allocations: 14.08 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/1.215, allocations: 39.2 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/1.215, allocations: 9.359 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/1.215, allocations: 16.83 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/1.215, allocations: 26.56 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/1.215, allocations: 3.594 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/1.215, allocations: 4.375 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/1.215, allocations: 15.39 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/1.215, allocations: 13.5 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/1.215, allocations: 44.3 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.215, allocations: 0 / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.215, allocations: 3.938 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.215, allocations: 1 kB / 1.274 GB, free: 6.719 MB / 0.9981 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.0005014/1.216, allocations: 366.5 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.216, allocations: 10.38 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/1.216, allocations: 6.703 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/1.216, allocations: 164 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.216, allocations: 1.5 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/1.216, allocations: 3.641 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/1.216, allocations: 68.31 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.216, allocations: 4.188 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.216, allocations: 4.781 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.216, allocations: 0.7188 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/1.216, allocations: 66.53 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/1.217, allocations: 266.4 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/1.217, allocations: 57.88 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/1.217, allocations: 45.47 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/1.217, allocations: 0.9062 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/1.217, allocations: 35.16 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/1.217, allocations: 7.984 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005287/1.218, allocations: 126.4 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.218, allocations: 52.34 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/1.218, allocations: 109.4 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/1.218, allocations: 26.83 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/1.218, allocations: 93.03 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/1.218, allocations: 15.14 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/1.218, allocations: 11.75 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/1.218, allocations: 318.6 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/1.218, allocations: 28.45 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/1.218, allocations: 34.67 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/1.218, allocations: 73.38 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.218, allocations: 3.938 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/1.219, allocations: 101.9 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.219, allocations: 5.219 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.219, allocations: 4.797 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.219, allocations: 1.125 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.219, allocations: 16.25 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.219, allocations: 3.938 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/1.219, allocations: 16.12 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/1.219, allocations: 1.156 kB / 1.276 GB, free: 4.934 MB / 0.9981 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 5.616e-05/1.219, allocations: 120.4 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/1.219, allocations: 5.703 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/1.219, allocations: 7.547 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.219, allocations: 0.6562 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.219, allocations: 0 / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.219, allocations: 1 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.219, allocations: 169.4 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.219, allocations: 0.6562 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/1.219, allocations: 16.16 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.219, allocations: 4.625 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.219, allocations: 0 / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.219, allocations: 0.625 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.219, allocations: 0.7812 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/1.22, allocations: 199 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/1.22, allocations: 82.61 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/1.22, allocations: 0.8125 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/1.22, allocations: 11.14 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/1.22, allocations: 8.672 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/1.22, allocations: 4.969 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.343e-05/1.22, allocations: 83.84 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.22, allocations: 0 / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002098/1.22, allocations: 6.531 kB / 1.276 GB, free: 4.262 MB / 0.9981 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 0.0001551/1.22, allocations: 105.9 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000365/1.221, allocations: 66.78 kB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.221, allocations: 0 / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/1.221, allocations: 34.59 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.221, allocations: 15.45 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/1.222, allocations: 143.2 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/1.222, allocations: 0.6864 MB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.196e-05/1.222, allocations: 4.703 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/1.222, allocations: 9.031 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.222, allocations: 0.9688 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of Templates: time 0.003428/1.225, allocations: 0.6803 MB / 1.278 GB, free: 3.238 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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: 9.893407493829727]