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.0007651/0.0007651, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001815, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007227/0.0007227, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009199/0.001643, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9127/0.9127, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09123/1.004, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.463/2.463, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2825/2.745, allocations: 145.9 MB / 0.817 GB, free: 4.223 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 1.583e-06/1.583e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.024e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001528/0.001548, allocations: 0.7457 MB / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.002412, allocations: 0.8509 MB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.002441, allocations: 7.938 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.002465, allocations: 7.984 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.002503, allocations: 7.875 kB / 0.82 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.938e-05/0.002552, allocations: 11.98 kB / 0.82 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.002619, allocations: 47.84 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.002692, allocations: 8 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.002767, allocations: 27.91 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.002803, allocations: 15.98 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.002824, allocations: 4 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-06/0.002831, allocations: 4 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.002842, allocations: 8 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.00286, allocations: 7.938 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.816e-05/0.002938, allocations: 31.84 kB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.00295, allocations: 0 / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002951, allocations: 0 / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.002961, allocations: 0 / 0.8201 GB, free: 1.035 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.0003022/0.003264, allocations: 264.5 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.003299, allocations: 8.625 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.003323, allocations: 4.938 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.003401, allocations: 121.7 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.003409, allocations: 384 / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.003416, allocations: 4.375 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.003524, allocations: 62.94 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.003529, allocations: 192 / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.003536, allocations: 4.375 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.00354, allocations: 384 / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.003561, allocations: 15.92 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.003747, allocations: 148.3 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.898e-05/0.003806, allocations: 26.56 kB / 0.8207 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.003825, allocations: 16.84 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.003833, allocations: 0 / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.003854, allocations: 30.56 kB / 0.8208 GB, free: 252 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.003856, allocations: 4 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001089/0.003964, allocations: 49.72 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.003995, allocations: 51.41 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.00405, allocations: 114.7 kB / 0.821 GB, free: 0 / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.004073, allocations: 25.7 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.004105, allocations: 84.12 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.004122, allocations: 11.91 kB / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.004148, allocations: 25.7 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.004215, allocations: 310.8 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.004226, allocations: 4 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.004237, allocations: 4.172 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.004263, allocations: 20.88 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004266, allocations: 0 / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.669e-05/0.004312, allocations: 41.62 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.004324, allocations: 4 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004328, allocations: 0 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.004338, allocations: 7.938 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.004404, allocations: 15.98 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.004407, allocations: 0 / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.004427, allocations: 7.984 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004432, allocations: 0 / 0.8215 GB, free: 15.41 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 4.673e-05/0.004479, allocations: 105.8 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.004493, allocations: 8 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.00451, allocations: 4 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004512, allocations: 3.938 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.004514, allocations: 4 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004516, allocations: 0 / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.146e-05/0.004597, allocations: 77.88 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004599, allocations: 7.938 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.004626, allocations: 11.98 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.004634, allocations: 7.891 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004635, allocations: 0 / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.00464, allocations: 4 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.004642, allocations: 4 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.004644, allocations: 3.938 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.058e-05/0.004725, allocations: 127.5 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.004734, allocations: 8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.004769, allocations: 11.98 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.004796, allocations: 0 / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.004801, allocations: 11.92 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.004816, allocations: 16.84 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004816, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001099/0.004926, allocations: 4 kB / 0.8219 GB, free: 14.95 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 7.508e-05/0.005001, allocations: 82.47 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.938e-05/0.005061, allocations: 16.84 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.005066, allocations: 0 / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/0.005084, allocations: 16.86 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.005256, allocations: 15.92 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.005643, allocations: 135.4 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.005679, allocations: 59.28 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.005705, allocations: 4 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.005756, allocations: 51.38 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of SimCode: time 9.21e-07/0.005757, allocations: 4 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.00214/0.007896, allocations: 0.6942 MB / 0.823 GB, free: 13.83 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.256029658950865]