Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008078/0.0008078, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007887/0.0007887, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8843/0.8843, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.671/1.671, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.367e-05, allocations: 5.234 kB / 0.9518 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001192/0.001216, allocations: 0.6989 MB / 0.9525 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.001953, allocations: 0.8353 MB / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.001996, allocations: 0 / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.418e-05/0.00205, allocations: 3.938 kB / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.002121, allocations: 11.88 kB / 0.9533 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.002225, allocations: 15.97 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.002296, allocations: 43.91 kB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.002388, allocations: 4 kB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.002476, allocations: 31.91 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.002524, allocations: 11.98 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.00255, allocations: 7.938 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.002559, allocations: 4 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.002578, allocations: 11.92 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.002598, allocations: 8 kB / 0.9534 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.002692, allocations: 55.78 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002694, allocations: 0 / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002695, allocations: 0 / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.0027, allocations: 4 kB / 0.9535 GB, free: 1.156 MB / 0.9011 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.0003748/0.003075, allocations: 282.2 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.003109, allocations: 8.031 kB / 0.9538 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.003137, allocations: 4.891 kB / 0.9538 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.796e-05/0.003215, allocations: 105.8 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.003227, allocations: 12.31 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.003236, allocations: 4.375 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.003395, allocations: 70.2 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003402, allocations: 192 / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.003413, allocations: 4.375 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003418, allocations: 384 / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.00356, allocations: 67.86 kB / 0.954 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.003828, allocations: 216.5 kB / 0.9542 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.003955, allocations: 54.47 kB / 0.9543 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.004029, allocations: 36.92 kB / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.004048, allocations: 0 / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.004066, allocations: 34.56 kB / 0.9544 GB, free: 164 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.004067, allocations: 4 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003026/0.00437, allocations: 133.5 kB / 0.9545 GB, free: 20 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.004408, allocations: 55.34 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.004474, allocations: 105.8 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.004485, allocations: 25.7 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.004521, allocations: 88.14 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.00454, allocations: 11.89 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.004567, allocations: 25.7 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.004645, allocations: 310.8 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.004716, allocations: 39.91 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.004782, allocations: 31.95 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.004922, allocations: 72.78 kB / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004924, allocations: 0 / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001586/0.005082, allocations: 97.56 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005094, allocations: 7.938 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005097, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.005107, allocations: 4 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.005182, allocations: 11.98 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005186, allocations: 7.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.005223, allocations: 15.97 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.005229, allocations: 0 / 0.9554 GB, free: 15.07 MB / 0.9167 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.142e-05/0.00528, allocations: 113.8 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.005293, allocations: 3.953 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.005482, allocations: 109.5 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005484, allocations: 4 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.005487, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.00549, allocations: 4 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.58e-05/0.005575, allocations: 105.3 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005577, allocations: 3.938 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.005616, allocations: 19.97 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005618, allocations: 0 / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.005624, allocations: 0 / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.005626, allocations: 3.938 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005627, allocations: 4 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.005809, allocations: 195.8 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.005815, allocations: 4.031 kB / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.005826, allocations: 7.984 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.005877, allocations: 11.92 kB / 0.9559 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.005912, allocations: 8 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-06/0.005915, allocations: 0 / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.005945, allocations: 95.58 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005945, allocations: 0 / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001438/0.006089, allocations: 8 kB / 0.956 GB, free: 14.31 MB / 0.9167 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.045e-05/0.00616, allocations: 103.1 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.006339, allocations: 63.92 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006341, allocations: 3.938 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.006411, allocations: 43.95 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.006601, allocations: 2.5 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.006851, allocations: 150.5 kB / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.006893, allocations: 71.22 kB / 0.9564 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.006922, allocations: 12.5 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.006922, allocations: 0 / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of Templates: time 0.001505/0.008427, allocations: 0.7712 MB / 0.9572 GB, free: 13.05 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 6.4538924200460315]