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.001865/0.001865, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001844/0.001844, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.726/1.726, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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 3.542/3.542, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 72.09 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4351, allocations: 181.9 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002147/0.4372, allocations: 0.7048 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.4384, allocations: 0.8319 MB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.4384, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.4385, allocations: 3.938 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.4385, allocations: 11.94 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.4386, allocations: 7.984 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.4387, allocations: 47.91 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4389, allocations: 7.984 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.4389, allocations: 23.92 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.439, allocations: 15.92 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.439, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.439, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.439, allocations: 11.92 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.4391, allocations: 15.88 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.4392, allocations: 43.8 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4392, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4392, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.4392, allocations: 3.984 kB / 1.366 GB, free: 11.72 MB / 1.061 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.0005258/0.4397, allocations: 283.8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.4397, allocations: 8.031 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.4398, allocations: 12.89 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.44, allocations: 110.5 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.44, allocations: 384 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.44, allocations: 384 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4402, allocations: 74.2 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4402, allocations: 4.188 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4403, allocations: 3.938 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4403, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.4405, allocations: 71.8 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.4409, allocations: 204.6 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.4411, allocations: 54.55 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.4412, allocations: 44.84 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4413, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4413, allocations: 38.5 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4413, allocations: 0 / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.4418, allocations: 129.6 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4419, allocations: 51.41 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.442, allocations: 109.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.442, allocations: 29.7 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.4421, allocations: 84.09 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4421, allocations: 11.95 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.4421, allocations: 13.7 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4423, allocations: 322.8 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4424, allocations: 27.97 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4426, allocations: 39.89 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.4428, allocations: 64.78 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4428, allocations: 0 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000408/0.4433, allocations: 105.6 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4433, allocations: 8 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.4433, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4433, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4434, allocations: 11.98 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4434, allocations: 4 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.4435, allocations: 15.92 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4435, allocations: 4 kB / 1.367 GB, free: 9.645 MB / 1.061 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 8.895e-05/0.4436, allocations: 113.8 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4436, allocations: 12.27 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.4441, allocations: 101.6 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4441, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4441, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4441, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4443, allocations: 121.2 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4443, allocations: 4 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4444, allocations: 15.92 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4444, allocations: 7.922 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.4444, allocations: 4 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4444, allocations: 0 / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4444, allocations: 0 / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.4448, allocations: 199.4 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.4448, allocations: 7.938 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.4448, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4449, allocations: 15.97 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.445, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.445, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.445, allocations: 95.56 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.445, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002222/0.4453, allocations: 8 kB / 1.368 GB, free: 8.875 MB / 1.061 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.0001296/0.4454, allocations: 95.25 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.4457, allocations: 67.86 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4457, allocations: 4 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4459, allocations: 39.95 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4462, allocations: 7.938 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.4465, allocations: 117.6 kB / 1.368 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.571e-05/0.4466, allocations: 67.33 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.4466, allocations: 4 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.4466, allocations: 7.438 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4466, allocations: 0 / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of Templates: time 0.003357/0.45, allocations: 0.7505 MB / 1.369 GB, free: 7.684 MB / 1.061 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: 10.045164626091719]