Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001799/0.001799, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002562/0.002562, allocations: 163.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.674/1.674, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.791/2.791, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.776e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001798/0.001826, allocations: 0.7602 MB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003054, allocations: 0.8899 MB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.003096, allocations: 0 / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.003129, allocations: 3.938 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.003216, allocations: 11.88 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.003393, allocations: 47.81 kB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003511, allocations: 83.77 kB / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.003609, allocations: 23.97 kB / 0.9528 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.003731, allocations: 51.89 kB / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.003821, allocations: 35.95 kB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.003848, allocations: 4 kB / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.003864, allocations: 8 kB / 0.9529 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.003896, allocations: 27.89 kB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.003936, allocations: 23.92 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004078, allocations: 91.7 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00408, allocations: 3.938 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00408, allocations: 0 / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.004084, allocations: 0 / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006544/0.004738, allocations: 322 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.004779, allocations: 12.03 kB / 0.9533 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.004826, allocations: 8.891 kB / 0.9533 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.004966, allocations: 121.6 kB / 0.9534 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.004989, allocations: 8.375 kB / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.005005, allocations: 4.375 kB / 0.9534 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.005326, allocations: 107.9 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005337, allocations: 7.938 kB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.005354, allocations: 4 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005359, allocations: 3.938 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.005759, allocations: 95.84 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.00627, allocations: 268.4 kB / 0.9539 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.006924, allocations: 122.5 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.007145, allocations: 60.8 kB / 0.9541 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.007164, allocations: 0 / 0.9541 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.007193, allocations: 34.56 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007194, allocations: 0 / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007377/0.007931, allocations: 177.5 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.007983, allocations: 59.34 kB / 0.9543 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.008097, allocations: 125.8 kB / 0.9545 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.008118, allocations: 25.7 kB / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.008182, allocations: 100 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.008209, allocations: 15.84 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.008266, allocations: 29.7 kB / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.008413, allocations: 314.8 kB / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.008609, allocations: 51.94 kB / 0.955 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.008808, allocations: 51.95 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.009175, allocations: 93.23 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009176, allocations: 0 / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000442/0.009618, allocations: 141.5 kB / 0.9553 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.009631, allocations: 4 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009637, allocations: 3.984 kB / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.00965, allocations: 0 / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.009822, allocations: 23.97 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.009827, allocations: 0 / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.009954, allocations: 27.88 kB / 0.9553 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.009966, allocations: 4 kB / 0.9553 GB, free: 6.926 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001025/0.01007, allocations: 125.7 kB / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.0101, allocations: 3.953 kB / 0.9554 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.01013, allocations: 16.42 kB / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01013, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01014, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01014, allocations: 0 / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.01032, allocations: 137.2 kB / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01032, allocations: 0 / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.01049, allocations: 35.84 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01049, allocations: 4 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.0105, allocations: 0 / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.0105, allocations: 0 / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0105, allocations: 0 / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.01103, allocations: 231.3 kB / 0.9558 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01105, allocations: 11.95 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01107, allocations: 4 kB / 0.9559 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.01122, allocations: 19.95 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.01131, allocations: 19.97 kB / 0.9559 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01132, allocations: 4 kB / 0.9559 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.314e-05/0.0114, allocations: 95.27 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.0114, allocations: 0 / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002421/0.01165, allocations: 16 kB / 0.956 GB, free: 6.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001245/0.01177, allocations: 95.19 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.01228, allocations: 107.9 kB / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01229, allocations: 4 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.01251, allocations: 55.89 kB / 0.9563 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.01284, allocations: 18.31 kB / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.01333, allocations: 174.2 kB / 0.9564 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.01342, allocations: 75.33 kB / 0.9565 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.01349, allocations: 15.98 kB / 0.9565 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.01357, allocations: 16.5 kB / 0.9565 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01357, allocations: 0 / 0.9565 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of Templates: time 0.004921/0.01849, allocations: 1.691 MB / 0.9582 GB, free: 3.879 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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: 8.360096495598555]