Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.0009181/0.0009181, allocations: 83.59 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.001063/0.001063, allocations: 165 kB / 23.82 MB, free: 0.75 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.9515/0.9515, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.807/1.807, allocations: 359 MB / 0.6052 GB, free: 11.02 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.6562 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.74e-05, allocations: 4.719 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001138/0.001155, allocations: 0.6771 MB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008258/0.001981, allocations: 0.8639 MB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.002011, allocations: 1.219 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002037, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.002099, allocations: 11.86 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.002267, allocations: 9.406 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.002325, allocations: 23.92 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.002408, allocations: 11.98 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.002472, allocations: 11.98 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.1e-05/0.002503, allocations: 9.516 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.002517, allocations: 0 / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.849e-05/0.002555, allocations: 7.938 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.00257, allocations: 4 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.002587, allocations: 4.562 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.879e-05/0.002686, allocations: 27.89 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002688, allocations: 1.062 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002689, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002692, allocations: 0 / 0.7888 GB, free: 10.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003198/0.003012, allocations: 354.6 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.003048, allocations: 12.03 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.003142, allocations: 12.83 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.003215, allocations: 108.6 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.003224, allocations: 1.062 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.003234, allocations: 4.375 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.003341, allocations: 60 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003349, allocations: 192 / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.003358, allocations: 4.359 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.003364, allocations: 1.969 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.003392, allocations: 7.938 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.003662, allocations: 259.7 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.003719, allocations: 28.81 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.00374, allocations: 7.688 kB / 0.7896 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.003762, allocations: 4.062 kB / 0.7896 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.003784, allocations: 33.39 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.003786, allocations: 2.5 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.003938, allocations: 53.52 kB / 0.7897 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.003966, allocations: 51.41 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.004045, allocations: 161.9 kB / 0.7899 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.004055, allocations: 25.7 kB / 0.7899 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.004103, allocations: 126.9 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.004124, allocations: 8.562 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.004152, allocations: 23.38 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.004269, allocations: 493.8 kB / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.004284, allocations: 4 kB / 0.7906 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.004293, allocations: 0 / 0.7906 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.004326, allocations: 17.44 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004328, allocations: 0 / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.074e-05/0.004378, allocations: 41.62 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.004393, allocations: 8 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.0044, allocations: 4.562 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.004417, allocations: 0 / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.004482, allocations: 4.906 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.004488, allocations: 0 / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.004506, allocations: 9.922 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.004511, allocations: 0 / 0.7906 GB, free: 8.668 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 (2): * Single equations (assignments): 2 * 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.557e-05/0.004576, allocations: 156.6 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.00459, allocations: 4 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.675e-05/0.004687, allocations: 58.97 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.004688, allocations: 0 / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.004692, allocations: 0 / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.004695, allocations: 0 / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.769e-05/0.004783, allocations: 112.6 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.004784, allocations: 0 / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.004802, allocations: 4.531 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.004804, allocations: 0 / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.004809, allocations: 0.7188 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.004812, allocations: 7.938 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004813, allocations: 0.5312 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.00489, allocations: 189.5 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.004896, allocations: 4 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.004905, allocations: 0 / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.004935, allocations: 8.453 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.004975, allocations: 4 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.00498, allocations: 13.25 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.005009, allocations: 123.2 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005009, allocations: 0 / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000132/0.005141, allocations: 5.156 kB / 0.7913 GB, free: 7.926 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 (2): * Single equations (assignments): 2 * 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.299e-05/0.005204, allocations: 97.2 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.005274, allocations: 17.06 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005275, allocations: 0 / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.005292, allocations: 16.59 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.005464, allocations: 0 / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.005705, allocations: 123.1 kB / 0.7915 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.005735, allocations: 56.62 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.005749, allocations: 4 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.005775, allocations: 9.031 kB / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.005775, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.001855/0.00763, allocations: 475.2 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.088848907966167]