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.0008006/0.0008006, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008107/0.0008107, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8572/0.8572, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.758/1.758, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.844e-06/1.844e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.924e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001111/0.00113, allocations: 0.6861 MB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007101/0.00184, allocations: 0.8315 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.001874, allocations: 7.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.001902, allocations: 7.922 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.001958, allocations: 11.86 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 9.616e-05/0.002054, allocations: 11.98 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.002126, allocations: 43.86 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.002214, allocations: 7.984 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.002288, allocations: 27.92 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.002325, allocations: 11.98 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.002354, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-06/0.002362, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.00238, allocations: 15.97 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.0024, allocations: 11.94 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.00248, allocations: 39.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.002483, allocations: 4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002484, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002488, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 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.000347/0.002835, allocations: 286.1 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.002867, allocations: 8.75 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.002894, allocations: 12.89 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.002974, allocations: 125.6 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.002986, allocations: 8.375 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.002994, allocations: 384 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.003148, allocations: 66.22 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.003158, allocations: 4.188 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.003166, allocations: 384 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.00317, allocations: 384 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.003317, allocations: 71.86 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.003576, allocations: 200.6 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.003688, allocations: 58.47 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.003761, allocations: 32.92 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.003778, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.003799, allocations: 38.56 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 6.32e-07/0.003799, allocations: 4 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002982/0.004098, allocations: 133.5 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.004124, allocations: 51.41 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.004182, allocations: 110.1 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004191, allocations: 25.7 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.004226, allocations: 92.09 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.004243, allocations: 11.88 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.004272, allocations: 17.72 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.004342, allocations: 314.8 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.004412, allocations: 31.95 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.004476, allocations: 31.91 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.004607, allocations: 72.78 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004608, allocations: 0 / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001569/0.004765, allocations: 101.5 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.004777, allocations: 7.938 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004782, allocations: 4 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004793, allocations: 4 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.004863, allocations: 15.97 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.004868, allocations: 4.062 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.004902, allocations: 11.98 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00491, allocations: 7.938 kB / 1.005 GB, free: 9.098 MB / 0.9636 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 4.78e-05/0.004957, allocations: 109.8 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.00497, allocations: 4 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.005158, allocations: 109.9 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005159, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.005162, allocations: 7.938 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005166, allocations: 4.031 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.005253, allocations: 109.3 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005254, allocations: 0 / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.005293, allocations: 15.97 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005295, allocations: 0 / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.005301, allocations: 8 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.005304, allocations: 7.938 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.005305, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.005479, allocations: 195.4 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.005485, allocations: 8 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.005494, allocations: 0 / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.005545, allocations: 15.92 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.005577, allocations: 11.98 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.00558, allocations: 0 / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.005607, allocations: 87.28 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005607, allocations: 3.938 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001506/0.005758, allocations: 8 kB / 1.005 GB, free: 8.336 MB / 0.9636 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 6.331e-05/0.005821, allocations: 95.25 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.006002, allocations: 71.91 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006003, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.006071, allocations: 31.97 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.00626, allocations: 5.406 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.006494, allocations: 167.1 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.006535, allocations: 67.28 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.006565, allocations: 16.5 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.006565, allocations: 0 / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of Templates: time 0.001375/0.00794, allocations: 0.7581 MB / 1.006 GB, free: 7.078 MB / 0.9636 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: 6.294711231254041]