Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.002006/0.002006, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002582/0.002582, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.531/1.531, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.877/2.877, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.274e-05, allocations: 2.281 kB / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001951/0.001984, allocations: 0.6577 MB / 1.001 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002224/0.002206, allocations: 23.84 kB / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.002252, allocations: 0 / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.00239, allocations: 4 kB / 1.001 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.00244, allocations: 3.938 kB / 1.001 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.00258, allocations: 7.984 kB / 1.001 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.002754, allocations: 39.92 kB / 1.001 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.002901, allocations: 11.98 kB / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.002964, allocations: 23.92 kB / 1.001 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.003006, allocations: 11.97 kB / 1.001 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.003039, allocations: 4 kB / 1.001 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.003056, allocations: 8 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.003099, allocations: 11.94 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.00314, allocations: 8 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.003279, allocations: 47.86 kB / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.003283, allocations: 0 / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003284, allocations: 0 / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.00329, allocations: 0 / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005029/0.003793, allocations: 278.2 kB / 1.001 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.003848, allocations: 8.031 kB / 1.001 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.003894, allocations: 8.891 kB / 1.001 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.004145, allocations: 129.6 kB / 1.001 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.004161, allocations: 4.375 kB / 1.001 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.00418, allocations: 4.375 kB / 1.001 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.004406, allocations: 82.22 kB / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.004419, allocations: 192 / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.004431, allocations: 384 / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.004439, allocations: 4.359 kB / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.004539, allocations: 51.91 kB / 1.002 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.00514, allocations: 410.9 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.005267, allocations: 169.1 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.00532, allocations: 84.08 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.005361, allocations: 75.39 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.005418, allocations: 117.7 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.00542, allocations: 0 / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001158/0.005535, allocations: 37.66 kB / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.005633, allocations: 126.7 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.005818, allocations: 121.8 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.005837, allocations: 25.7 kB / 1.003 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.005943, allocations: 104 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/0.005948, allocations: 0 / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.005989, allocations: 13.72 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.006202, allocations: 322.8 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.006227, allocations: 15.94 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.006243, allocations: 7.984 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.006294, allocations: 12.86 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006295, allocations: 0 / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000159/0.006454, allocations: 49.67 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.006474, allocations: 8 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.006479, allocations: 0 / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.006498, allocations: 0 / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.006563, allocations: 4 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.006568, allocations: 96 / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.00659, allocations: 8 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.006605, allocations: 4 kB / 1.003 GB, free: 3.934 MB / 0.9512 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 (1): * Single equations (assignments): 1 * 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 0.0001598/0.006764, allocations: 201.5 kB / 1.003 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.00686, allocations: 105 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.006932, allocations: 108.5 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/0.00704, allocations: 184.2 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001316/0.007171, allocations: 176.3 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001272/0.007298, allocations: 184.2 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.007606, allocations: 372.8 kB / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-05/0.007659, allocations: 101 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.007745, allocations: 116.9 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.007852, allocations: 176.3 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.007959, allocations: 180.2 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001013/0.00806, allocations: 184.3 kB / 1.005 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.913e-05/0.008159, allocations: 176.5 kB / 1.005 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.008354, allocations: 319.6 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.008419, allocations: 108.9 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.008513, allocations: 180.3 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.008624, allocations: 109 kB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.008738, allocations: 180.2 kB / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.008793, allocations: 109 kB / 1.006 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.008872, allocations: 99.27 kB / 1.006 GB, free: 460 kB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.008872, allocations: 3.938 kB / 1.006 GB, free: 456 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000243/0.009115, allocations: 7.938 kB / 1.006 GB, free: 448 kB / 0.9512 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 (0): * Single equations (assignments): 0 * 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.000177/0.009292, allocations: 167.9 kB / 1.007 GB, free: 272 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.009375, allocations: 19.92 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.009383, allocations: 0 / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.009385, allocations: 0 / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.009912, allocations: 463.6 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.01029, allocations: 212.2 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01041, allocations: 71.33 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.01043, allocations: 4 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.01046, allocations: 8.5 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of SimCode: time 4.6e-07/0.01046, allocations: 0 / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.003159/0.01362, allocations: 324.9 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 8.445177160203457]