Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001484/0.001484, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001598/0.001598, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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 1.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.848/2.848, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8109 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.441e-05, allocations: 3.531 kB / 0.8109 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002183/0.002217, allocations: 0.6895 MB / 0.8116 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003504, allocations: 0.832 MB / 0.8124 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.003539, allocations: 0.7656 kB / 0.8124 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.00357, allocations: 5.156 kB / 0.8124 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.003645, allocations: 10.94 kB / 0.8124 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 9.818e-05/0.003743, allocations: 11.98 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.003836, allocations: 44.7 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.003934, allocations: 13.39 kB / 0.8124 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.004027, allocations: 27.84 kB / 0.8125 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.004072, allocations: 15.98 kB / 0.8125 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.004095, allocations: 4 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.004108, allocations: 4.844 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.00413, allocations: 11.92 kB / 0.8125 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.004162, allocations: 8.562 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.004279, allocations: 43.91 kB / 0.8126 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.004283, allocations: 4.625 kB / 0.8126 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004283, allocations: 0 / 0.8126 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.004287, allocations: 0.9062 kB / 0.8126 GB, free: 15.2 MB / 0.7292 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.0005741/0.004861, allocations: 286.8 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.004912, allocations: 13.25 kB / 0.8129 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.004962, allocations: 8.891 kB / 0.8129 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.005089, allocations: 109.8 kB / 0.813 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005101, allocations: 1.125 kB / 0.813 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.005113, allocations: 8.359 kB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.005394, allocations: 71.12 kB / 0.813 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005402, allocations: 1.062 kB / 0.813 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005412, allocations: 384 / 0.813 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005417, allocations: 4.375 kB / 0.813 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.005722, allocations: 70.7 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.006107, allocations: 204.6 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.006346, allocations: 59.84 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.006509, allocations: 36.92 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.006532, allocations: 0.8125 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.006571, allocations: 34.56 kB / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006572, allocations: 0.6562 kB / 0.8134 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0006002/0.007172, allocations: 132.5 kB / 0.8136 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.00722, allocations: 51.41 kB / 0.8136 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.007339, allocations: 117.7 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.007363, allocations: 27.23 kB / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.007425, allocations: 84.14 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.007463, allocations: 27.77 kB / 0.8139 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.0075, allocations: 9.719 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.00769, allocations: 318.8 kB / 0.8142 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.007851, allocations: 29.92 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.007992, allocations: 28.5 kB / 0.8142 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.008294, allocations: 71.38 kB / 0.8143 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008295, allocations: 0 / 0.8143 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00035/0.008645, allocations: 98.16 kB / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.008665, allocations: 12.66 kB / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.008669, allocations: 1.25 kB / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.008687, allocations: 0 / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.008824, allocations: 27.84 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.008828, allocations: 0.625 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/0.008914, allocations: 13.06 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.008924, allocations: 4 kB / 0.8144 GB, free: 13.12 MB / 0.7292 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.0001078/0.009032, allocations: 110.7 kB / 0.8145 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.009061, allocations: 4 kB / 0.8146 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.009464, allocations: 111.8 kB / 0.8147 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.009467, allocations: 384 / 0.8147 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.009476, allocations: 4 kB / 0.8147 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009479, allocations: 0.875 kB / 0.8147 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.009653, allocations: 109.3 kB / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.009657, allocations: 6.266 kB / 0.8148 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.009765, allocations: 19.97 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.009767, allocations: 0 / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009775, allocations: 3.938 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.009779, allocations: 3.938 kB / 0.8148 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00978, allocations: 0 / 0.8148 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.01023, allocations: 198.9 kB / 0.815 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.01024, allocations: 3.984 kB / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.01026, allocations: 0 / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01038, allocations: 19.92 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.01043, allocations: 4 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.01043, allocations: 0.5938 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.0105, allocations: 87.77 kB / 0.8151 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.0105, allocations: 0 / 0.8151 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000233/0.01074, allocations: 8.562 kB / 0.8151 GB, free: 12.39 MB / 0.7292 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.0001647/0.0109, allocations: 93.22 kB / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.01128, allocations: 72.52 kB / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01128, allocations: 0.6875 kB / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.01145, allocations: 41.05 kB / 0.8153 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.01178, allocations: 8.656 kB / 0.8153 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.01219, allocations: 133.9 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.577e-05/0.01226, allocations: 67.28 kB / 0.8155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.01229, allocations: 7.656 kB / 0.8155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.01234, allocations: 12.5 kB / 0.8155 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.01234, allocations: 0 / 0.8155 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.003424/0.01576, allocations: 0.7451 MB / 0.8163 GB, free: 11.2 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.704442054964602]