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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 110.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001982, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.106/3.106, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001961/0.001961, allocations: 67.91 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002032/1.165, allocations: 0.718 MB / 1.263 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001057/1.166, allocations: 0.8034 MB / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/1.166, allocations: 0.7812 kB / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/1.166, allocations: 3.938 kB / 1.264 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/1.166, allocations: 7.016 kB / 1.264 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/1.166, allocations: 14.44 kB / 1.264 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.166, allocations: 43.45 kB / 1.264 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/1.167, allocations: 14.56 kB / 1.264 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/1.167, allocations: 17.53 kB / 1.264 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/1.167, allocations: 22.59 kB / 1.264 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/1.167, allocations: 8.109 kB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/1.167, allocations: 3.094 kB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/1.167, allocations: 10.78 kB / 1.264 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/1.167, allocations: 18.05 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/1.167, allocations: 38.8 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.167, allocations: 0.8125 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.805e-06/1.167, allocations: 4 kB / 1.264 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.812e-06/1.167, allocations: 0.5156 kB / 1.264 GB, free: 7.051 MB / 0.9981 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.0004999/1.167, allocations: 360.3 kB / 1.265 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.167, allocations: 10.14 kB / 1.265 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/1.168, allocations: 7.234 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/1.168, allocations: 176.6 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.168, allocations: 1.094 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/1.168, allocations: 2.125 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/1.168, allocations: 72.98 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/1.168, allocations: 1.062 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.168, allocations: 3.938 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.168, allocations: 0.9375 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/1.168, allocations: 62.36 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/1.169, allocations: 278.1 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/1.169, allocations: 59.92 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/1.169, allocations: 36.95 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/1.169, allocations: 4.844 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/1.169, allocations: 32.55 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.169, allocations: 0 / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005835/1.17, allocations: 128.3 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/1.17, allocations: 56.92 kB / 1.266 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/1.17, allocations: 106.9 kB / 1.266 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/1.17, allocations: 27.25 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/1.17, allocations: 90.48 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/1.17, allocations: 14.23 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/1.17, allocations: 12.89 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/1.17, allocations: 318.7 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.17, allocations: 30.56 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/1.17, allocations: 32.05 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/1.171, allocations: 66.2 kB / 1.266 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.171, allocations: 4.812 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000336/1.171, allocations: 114 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.171, allocations: 5.906 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.171, allocations: 0 / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.171, allocations: 0.9062 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.171, allocations: 19.5 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.171, allocations: 1.031 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/1.171, allocations: 15.75 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/1.171, allocations: 4.781 kB / 1.266 GB, free: 5.258 MB / 0.9981 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.47e-05/1.171, allocations: 116.3 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/1.171, allocations: 6.547 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/1.172, allocations: 104.6 kB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.172, allocations: 1.953 kB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.172, allocations: 4 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.172, allocations: 0 / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.172, allocations: 170.7 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.172, allocations: 0.9375 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.172, allocations: 16.05 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.172, allocations: 0 / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.172, allocations: 5.703 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.172, allocations: 0 / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.172, allocations: 5.016 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/1.172, allocations: 201.9 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/1.172, allocations: 78.8 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/1.172, allocations: 1.516 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/1.173, allocations: 11.16 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/1.173, allocations: 15.78 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.173, allocations: 1 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.076e-05/1.173, allocations: 84.94 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.173, allocations: 0 / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002184/1.173, allocations: 9.969 kB / 1.267 GB, free: 4.535 MB / 0.9981 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.0001435/1.173, allocations: 98.12 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003723/1.173, allocations: 71.42 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.173, allocations: 0 / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/1.174, allocations: 35.09 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/1.174, allocations: 12.94 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/1.174, allocations: 150.6 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/1.174, allocations: 0.6848 MB / 1.268 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/1.175, allocations: 9.156 kB / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.175, allocations: 0.9688 kB / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.002829/1.177, allocations: 0.7562 MB / 1.269 GB, free: 3.508 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.618679004022852]