Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0009674/0.0009674, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009757/0.0009757, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9433/0.9433, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.882/1.882, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.733e-05, allocations: 3.219 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.004479/0.004496, allocations: 0.7179 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.005424, allocations: 0.8527 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.005456, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.005485, allocations: 4.844 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.005549, allocations: 7.875 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.892e-05/0.005648, allocations: 16.64 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.005727, allocations: 43.84 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.005818, allocations: 13.2 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.005897, allocations: 27.91 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.005937, allocations: 11.98 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.005955, allocations: 5.625 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.005966, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.005982, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.006005, allocations: 15.92 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.315e-05/0.006089, allocations: 37.11 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006091, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006092, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.006095, allocations: 1.594 kB / 0.7889 GB, free: 10.68 MB / 0.7448 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.0003576/0.006453, allocations: 372.6 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.006488, allocations: 8.031 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.006526, allocations: 12.83 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.006611, allocations: 123.9 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.006623, allocations: 4.375 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.006635, allocations: 384 / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.006773, allocations: 66.94 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006784, allocations: 4.172 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.006793, allocations: 384 / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.0068, allocations: 384 / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.006834, allocations: 7.938 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.01014, allocations: 264.5 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.01021, allocations: 31.05 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.01024, allocations: 21.33 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01026, allocations: 0 / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.01028, allocations: 37.39 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.01028, allocations: 0 / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.01045, allocations: 54.28 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.01047, allocations: 51.41 kB / 0.7899 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.01055, allocations: 170.7 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.01056, allocations: 25.7 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.01061, allocations: 135.8 kB / 0.7902 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.01063, allocations: 3.953 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.01066, allocations: 28.3 kB / 0.7902 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.01085, allocations: 496.1 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.01087, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.01088, allocations: 5.344 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.01092, allocations: 19.67 kB / 0.7907 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01092, allocations: 0 / 0.7907 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.21e-05/0.01099, allocations: 50.53 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01101, allocations: 11.92 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-06/0.01101, allocations: 4 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01103, allocations: 1 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.01112, allocations: 8 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01112, allocations: 1.062 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.01115, allocations: 7.984 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.01116, allocations: 0 / 0.7908 GB, free: 8.492 MB / 0.7448 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 6.363e-05/0.01122, allocations: 158.1 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.01124, allocations: 3.938 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.01135, allocations: 65.55 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.01135, allocations: 0.5312 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01135, allocations: 0 / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01135, allocations: 0.625 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.01147, allocations: 129.1 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01147, allocations: 4 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.01151, allocations: 12.77 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01151, allocations: 0.9062 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.01152, allocations: 0 / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01152, allocations: 4.25 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01152, allocations: 0.5312 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01164, allocations: 201.3 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.01164, allocations: 432 / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.01165, allocations: 0 / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.01171, allocations: 7.938 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.01175, allocations: 17.2 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.01176, allocations: 0 / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.0118, allocations: 131.2 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0118, allocations: 0.8125 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002177/0.01201, allocations: 12 kB / 0.7915 GB, free: 7.695 MB / 0.7448 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 7.261e-05/0.01209, allocations: 92.19 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.966e-05/0.01218, allocations: 28.88 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01218, allocations: 0 / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.0122, allocations: 11.69 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01244, allocations: 8.844 kB / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.0127, allocations: 140.3 kB / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.01274, allocations: 51.36 kB / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.01276, allocations: 7.984 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.01279, allocations: 11.59 kB / 0.7919 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/0.01279, allocations: 0 / 0.7919 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.005364/0.01815, allocations: 0.7392 MB / 0.7926 GB, free: 6.586 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.318745479919016]