Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001957/0.001957, allocations: 81.61 kB / 19.18 MB, free: 2.531 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.002243/0.002243, allocations: 167.7 kB / 22.46 MB, free: 5.355 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.9/2.9, 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.816e-06/8.816e-06, allocations: 3.984 kB / 1 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.86e-05, allocations: 2.281 kB / 1 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002824/0.002873, allocations: 0.7114 MB / 1.001 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.004606, allocations: 0.8276 MB / 1.002 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.004656, allocations: 0 / 1.002 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.004706, allocations: 3.938 kB / 1.002 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.004795, allocations: 15.88 kB / 1.002 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.004947, allocations: 15.97 kB / 1.002 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.005074, allocations: 43.86 kB / 1.002 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.005221, allocations: 11.98 kB / 1.002 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.005338, allocations: 23.97 kB / 1.002 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.005401, allocations: 19.92 kB / 1.002 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.005442, allocations: 4 kB / 1.002 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.005459, allocations: 4 kB / 1.002 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.005486, allocations: 7.984 kB / 1.002 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.005523, allocations: 8 kB / 1.002 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.005674, allocations: 51.84 kB / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.005679, allocations: 0 / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.385e-06/0.005681, allocations: 0 / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.005695, allocations: 0 / 1.002 GB, free: 4.379 MB / 0.9044 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.0008421/0.006537, allocations: 282.2 kB / 1.002 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.006588, allocations: 8.031 kB / 1.002 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.006635, allocations: 8.891 kB / 1.002 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.006804, allocations: 109.8 kB / 1.002 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.006824, allocations: 4.312 kB / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.006847, allocations: 4.375 kB / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.007231, allocations: 74.2 kB / 1.002 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.007246, allocations: 192 / 1.002 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.00726, allocations: 384 / 1.002 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.007266, allocations: 384 / 1.002 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.007731, allocations: 67.86 kB / 1.002 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.008238, allocations: 212.6 kB / 1.003 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.008572, allocations: 58.47 kB / 1.003 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.008819, allocations: 36.92 kB / 1.003 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.008859, allocations: 3.938 kB / 1.003 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.008915, allocations: 30.56 kB / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.008917, allocations: 0 / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0009526/0.00987, allocations: 133.5 kB / 1.003 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.009937, allocations: 63.28 kB / 1.003 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.0101, allocations: 105.8 kB / 1.003 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.01013, allocations: 25.7 kB / 1.003 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.01022, allocations: 92.09 kB / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.01025, allocations: 7.891 kB / 1.003 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.01033, allocations: 21.7 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002455/0.01058, allocations: 314.8 kB / 1.003 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.01081, allocations: 27.97 kB / 1.004 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.01105, allocations: 35.95 kB / 1.004 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.01156, allocations: 68.78 kB / 1.004 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01156, allocations: 4 kB / 1.004 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005814/0.01214, allocations: 101.5 kB / 1.004 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.01217, allocations: 7.938 kB / 1.004 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.01218, allocations: 4 kB / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.0122, allocations: 0 / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.01242, allocations: 19.98 kB / 1.004 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01243, allocations: 4 kB / 1.004 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.01257, allocations: 16.3 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01259, allocations: 0 / 1.004 GB, free: 2.289 MB / 0.9044 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 0.0001482/0.01274, allocations: 110.5 kB / 1.004 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.01278, allocations: 0 / 1.004 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.01343, allocations: 113.5 kB / 1.004 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01344, allocations: 4 kB / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01344, allocations: 0 / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01345, allocations: 0 / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.01372, allocations: 117.3 kB / 1.004 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01372, allocations: 0 / 1.004 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.01391, allocations: 27.91 kB / 1.004 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01391, allocations: 0 / 1.004 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01392, allocations: 0 / 1.004 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.01393, allocations: 3.938 kB / 1.004 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01393, allocations: 0 / 1.004 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.01463, allocations: 195.4 kB / 1.004 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.01465, allocations: 0 / 1.004 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01467, allocations: 0 / 1.004 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.01488, allocations: 19.91 kB / 1.004 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.01495, allocations: 7.938 kB / 1.004 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.01496, allocations: 4 kB / 1.004 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.623e-05/0.01505, allocations: 91.2 kB / 1.004 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01505, allocations: 4 kB / 1.004 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004203/0.01547, allocations: 8 kB / 1.004 GB, free: 1.531 MB / 0.9044 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.0002353/0.01571, allocations: 99.17 kB / 1.005 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006043/0.01631, allocations: 67.92 kB / 1.005 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01632, allocations: 0 / 1.005 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.01659, allocations: 39.95 kB / 1.005 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.01714, allocations: 8 kB / 1.005 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.01768, allocations: 124.7 kB / 1.005 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01779, allocations: 71.23 kB / 1.005 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.01784, allocations: 4 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.01789, allocations: 12.5 kB / 1.005 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/0.01789, allocations: 0 / 1.005 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of Templates: time 0.005306/0.0232, allocations: 0.7415 MB / 1.006 GB, free: 332 kB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.363617554306984]