Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0009946/0.0009946, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.00238, allocations: 449.8 kB / 10.44 MB, free: 252 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.000938/0.000938, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002455, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.031/1.031, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.131, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.878/1.878, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.565/2.443, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.585e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00241/0.002436, allocations: 0.7586 MB / 0.7305 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003461, allocations: 0.8614 MB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.003497, allocations: 4 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.003525, allocations: 5.562 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.003577, allocations: 5.906 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.187e-05/0.003649, allocations: 12.64 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.003754, allocations: 54.03 kB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.003853, allocations: 12.95 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.003969, allocations: 29.52 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.004034, allocations: 17.72 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.004062, allocations: 4 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.004075, allocations: 4.766 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.004096, allocations: 5.422 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.004121, allocations: 12.05 kB / 0.7315 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.004224, allocations: 26.97 kB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.00424, allocations: 4 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00424, allocations: 0 / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.004258, allocations: 0 / 0.7315 GB, free: 2.59 MB / 0.698 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.0004732/0.004731, allocations: 244.6 kB / 0.7317 GB, free: 2.324 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.004775, allocations: 17.45 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.004815, allocations: 0.9375 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004937, allocations: 127.1 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.004952, allocations: 4.375 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.004967, allocations: 384 / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.005139, allocations: 63.56 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005148, allocations: 0.7188 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005157, allocations: 8.375 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005164, allocations: 1.281 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.005195, allocations: 9.031 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.00548, allocations: 152.8 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.005565, allocations: 31.2 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.005589, allocations: 8.859 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.005609, allocations: 0.6562 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.005636, allocations: 31.62 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.005638, allocations: 0 / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.005791, allocations: 49.66 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.005826, allocations: 52.44 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.005904, allocations: 118.8 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005916, allocations: 26.58 kB / 0.7324 GB, free: 1.539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.005962, allocations: 85.81 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.005989, allocations: 7.953 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.006027, allocations: 13.7 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.006152, allocations: 318.8 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.006171, allocations: 0.8125 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.006191, allocations: 4 kB / 0.7328 GB, free: 1.102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.006241, allocations: 20.78 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006243, allocations: 8.438 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.371e-05/0.006337, allocations: 39.38 kB / 0.7329 GB, free: 1.027 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.006358, allocations: 4 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.006364, allocations: 0 / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.006386, allocations: 3.938 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.006513, allocations: 12.86 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006516, allocations: 4 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.006549, allocations: 5.094 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.006557, allocations: 0 / 0.7329 GB, free: 1 MB / 0.698 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 7.46e-05/0.006631, allocations: 115.5 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.006658, allocations: 4 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.006774, allocations: 53.94 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.006778, allocations: 3.938 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.006782, allocations: 3.984 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.006785, allocations: 1.219 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.006911, allocations: 69.89 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006912, allocations: 0 / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.006984, allocations: 12.64 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.006996, allocations: 7.953 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.007, allocations: 1.125 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.007008, allocations: 4 kB / 0.7332 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00701, allocations: 0 / 0.7332 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.007012, allocations: 4.5 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.00715, allocations: 140.7 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.007164, allocations: 4 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.007239, allocations: 4 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.007286, allocations: 9.016 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.007295, allocations: 7.938 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.007318, allocations: 12.84 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.007318, allocations: 0.5312 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002066/0.007525, allocations: 9.562 kB / 0.7333 GB, free: 500 kB / 0.698 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.0001446/0.007669, allocations: 80.41 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.00776, allocations: 16.8 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.007768, allocations: 1.219 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.007804, allocations: 16.84 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.008079, allocations: 67.31 kB / 0.7335 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.008601, allocations: 133.5 kB / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.008647, allocations: 55.34 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.008682, allocations: 5.25 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.008762, allocations: 51.38 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.008763, allocations: 0.75 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of Templates: time 0.003306/0.01207, allocations: 0.6982 MB / 0.7344 GB, free: 15.34 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 4.983935714699328]