Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008806/0.0008806, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001907, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007353/0.0007353, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000854/0.001589, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9624/0.9624, allocations: 177.1 MB / 189.6 MB, free: 5.34 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09251/1.055, allocations: 53.66 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2712/2.64, allocations: 145.9 MB / 0.817 GB, free: 4.195 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.493e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001684/0.001699, allocations: 0.8186 MB / 0.8191 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.003336, allocations: 0.9053 MB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.003386, allocations: 0 / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.003423, allocations: 15.8 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.003481, allocations: 11.94 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.003606, allocations: 43.88 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.003732, allocations: 79.78 kB / 0.8201 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.00384, allocations: 23.95 kB / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.003981, allocations: 63.83 kB / 0.8202 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.004071, allocations: 39.88 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.004106, allocations: 8 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.004122, allocations: 8 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.004145, allocations: 15.94 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.004183, allocations: 15.94 kB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.004311, allocations: 55.77 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.004326, allocations: 0 / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004327, allocations: 0 / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.004341, allocations: 0 / 0.8204 GB, free: 0.7461 MB / 0.7917 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.0004987/0.00484, allocations: 300.3 kB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004878, allocations: 12.62 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.004922, allocations: 8.922 kB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.005091, allocations: 125.6 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.005116, allocations: 384 / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.005132, allocations: 4.375 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.005338, allocations: 94.89 kB / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005349, allocations: 7.938 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.00536, allocations: 0 / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.005369, allocations: 7.984 kB / 0.8209 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.005435, allocations: 15.98 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.005833, allocations: 204.1 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.006147, allocations: 58.48 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.006216, allocations: 24.84 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.006232, allocations: 0 / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.006257, allocations: 34.56 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.006259, allocations: 3.938 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001925/0.006451, allocations: 69.59 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.006486, allocations: 51.41 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.006565, allocations: 130.6 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.00658, allocations: 25.7 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.006621, allocations: 100 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.006647, allocations: 15.86 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.006696, allocations: 25.69 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.006785, allocations: 322.8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.006812, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.00684, allocations: 11.98 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.006908, allocations: 32.77 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.006911, allocations: 3.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001073/0.007019, allocations: 62.14 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007032, allocations: 8 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.007036, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.007045, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.00718, allocations: 23.97 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.007183, allocations: 80 / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.007236, allocations: 4 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.00725, allocations: 11.97 kB / 0.8221 GB, free: 14.82 MB / 0.8073 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 7.176e-05/0.007321, allocations: 117.7 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.00735, allocations: 4 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.007377, allocations: 16.44 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.00738, allocations: 3.984 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.007382, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007385, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.007528, allocations: 93.77 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.00753, allocations: 0 / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.007626, allocations: 27.91 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.007638, allocations: 3.938 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.007641, allocations: 4 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.007648, allocations: 0 / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00765, allocations: 0 / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00765, allocations: 4 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.007934, allocations: 163.4 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.007953, allocations: 8 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.008042, allocations: 4 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.008112, allocations: 23.97 kB / 0.8225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.008119, allocations: 0 / 0.8225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.008146, allocations: 20.84 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.008146, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002084/0.008354, allocations: 15.95 kB / 0.8226 GB, free: 14.27 MB / 0.8073 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 8.055e-05/0.008435, allocations: 88.41 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.008547, allocations: 40.77 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.008554, allocations: 4 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.008614, allocations: 24.84 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.008823, allocations: 19.98 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.009358, allocations: 167.8 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.009405, allocations: 59.34 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.979e-05/0.009475, allocations: 19.92 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.009581, allocations: 67.36 kB / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.009582, allocations: 0 / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.004611/0.01419, allocations: 1.743 MB / 0.8248 GB, free: 12 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.ref.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.206192525103688]