Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001359/0.001359, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002491/0.00385, allocations: 440 kB / 10.41 MB, free: 284 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.001473/0.001473, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001971/0.003444, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.057/1.057, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1317/1.189, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.577/2.577, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3177/2.895, allocations: 146 MB / 0.8176 GB, free: 3.824 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/4.032e-05, allocations: 2.312 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002182/0.002222, allocations: 0.7527 MB / 0.8197 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.003111, allocations: 0.8509 MB / 0.8206 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.003141, allocations: 0 / 0.8206 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.003168, allocations: 3.938 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.003213, allocations: 11.88 kB / 0.8206 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.047e-05/0.003284, allocations: 15.98 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.003368, allocations: 39.86 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.003463, allocations: 11.98 kB / 0.8206 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.003566, allocations: 35.91 kB / 0.8207 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.00361, allocations: 11.97 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.003633, allocations: 4 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.003642, allocations: 4 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.003664, allocations: 7.938 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.003689, allocations: 16 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.785e-05/0.003777, allocations: 23.86 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.003792, allocations: 0 / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003793, allocations: 4 kB / 0.8207 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.00381, allocations: 0 / 0.8207 GB, free: 0.6133 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000469/0.004279, allocations: 260.5 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.004317, allocations: 8.031 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.004349, allocations: 4.938 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.004791, allocations: 117.6 kB / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.004803, allocations: 384 / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004817, allocations: 8.359 kB / 0.8211 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.00497, allocations: 62.94 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.00498, allocations: 4.188 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.004987, allocations: 384 / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.004994, allocations: 384 / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.005019, allocations: 15.92 kB / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.005289, allocations: 152.3 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/0.005365, allocations: 26.64 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.005385, allocations: 8.859 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.005395, allocations: 4 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.005422, allocations: 38.64 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005424, allocations: 0 / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.005566, allocations: 53.47 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.0056, allocations: 51.41 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.005673, allocations: 114.6 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005684, allocations: 25.7 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.005722, allocations: 92.12 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.005744, allocations: 7.906 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.005772, allocations: 13.72 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.00586, allocations: 322.8 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.005873, allocations: 0 / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.005884, allocations: 4 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.005918, allocations: 16.84 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005921, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.534e-05/0.005976, allocations: 41.62 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.005991, allocations: 8 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.005998, allocations: 0 / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.006015, allocations: 3.938 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.00611, allocations: 8 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.006113, allocations: 0 / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.006136, allocations: 11.98 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.006143, allocations: 4.312 kB / 0.8222 GB, free: 14.99 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: 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.799e-05/0.006201, allocations: 109.8 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.006214, allocations: 0 / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.006241, allocations: 15.98 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006244, allocations: 3.938 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006246, allocations: 0 / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006249, allocations: 0 / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.192e-05/0.006341, allocations: 69.89 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006343, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.006377, allocations: 15.92 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.006387, allocations: 11.89 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006389, allocations: 4 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006394, allocations: 0 / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006395, allocations: 0 / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.006399, allocations: 4.266 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.592e-05/0.006495, allocations: 139.5 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.006503, allocations: 0 / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.006539, allocations: 8 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.00657, allocations: 11.92 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.006574, allocations: 3.938 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.006589, allocations: 12.84 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006589, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001074/0.006696, allocations: 12 kB / 0.8226 GB, free: 14.53 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: 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.0001009/0.006797, allocations: 84.34 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.006865, allocations: 12.86 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.006872, allocations: 4 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.006897, allocations: 12.84 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.007131, allocations: 75.33 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.00761, allocations: 136.5 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.571e-05/0.007656, allocations: 59.34 kB / 0.8229 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.007682, allocations: 0 / 0.8229 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.007753, allocations: 55.38 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.007754, allocations: 0 / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.002575/0.01033, allocations: 0.7059 MB / 0.8237 GB, free: 13.33 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add/Buildings_latest_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: 5.661540231667459]