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.001421/0.001421, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001196/0.001196, allocations: 170.4 kB / 24.87 MB, free: 8.891 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.9517/0.9517, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.818/1.818, allocations: 359 MB / 0.6063 GB, free: 10.92 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 2.295e-06/2.295e-06, allocations: 0.5469 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.744e-05, allocations: 5.578 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001978/0.002006, allocations: 0.683 MB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003146, allocations: 0.8631 MB / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.003185, allocations: 0 / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003213, allocations: 3.938 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.003282, allocations: 5.031 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.003455, allocations: 11.92 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.003526, allocations: 24.53 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.003611, allocations: 3.984 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.003689, allocations: 18.31 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.003725, allocations: 7.984 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.003741, allocations: 4 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.873e-05/0.00379, allocations: 11.92 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.003807, allocations: 4 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.003822, allocations: 3.984 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003929, allocations: 24.52 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003932, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003933, allocations: 1.125 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.003938, allocations: 0 / 0.79 GB, free: 10.48 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.0003811/0.004319, allocations: 354.9 kB / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.004368, allocations: 8.031 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.004482, allocations: 8.891 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.00459, allocations: 120.5 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.004603, allocations: 384 / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004611, allocations: 4.312 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.004734, allocations: 52.95 kB / 0.7905 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.004742, allocations: 192 / 0.7905 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.00475, allocations: 384 / 0.7905 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.004761, allocations: 4.359 kB / 0.7905 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.004787, allocations: 11.92 kB / 0.7905 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.005046, allocations: 226 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.005108, allocations: 34.98 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.005126, allocations: 11.69 kB / 0.7908 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.005142, allocations: 4.062 kB / 0.7908 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.005166, allocations: 34.77 kB / 0.7908 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.005167, allocations: 0 / 0.7908 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.005311, allocations: 45.58 kB / 0.7909 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.005341, allocations: 53.16 kB / 0.7909 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.005414, allocations: 157.9 kB / 0.7911 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005427, allocations: 25.7 kB / 0.7911 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.005475, allocations: 138.9 kB / 0.7912 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.005494, allocations: 5.047 kB / 0.7913 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.005532, allocations: 23.36 kB / 0.7913 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.005671, allocations: 492.1 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.005684, allocations: 1.938 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.005695, allocations: 4 kB / 0.7917 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.005729, allocations: 15.67 kB / 0.7918 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005731, allocations: 3.938 kB / 0.7918 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.339e-05/0.005804, allocations: 40.3 kB / 0.7918 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.00582, allocations: 4 kB / 0.7918 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005825, allocations: 3.938 kB / 0.7918 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.005835, allocations: 3.938 kB / 0.7918 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.005899, allocations: 4 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.005903, allocations: 7.984 kB / 0.7918 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.005926, allocations: 4.719 kB / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.00593, allocations: 0 / 0.7918 GB, free: 8.422 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 7.871e-05/0.006009, allocations: 157.1 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.006032, allocations: 1.656 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/0.006128, allocations: 45 kB / 0.792 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.006131, allocations: 3.938 kB / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006133, allocations: 0 / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.006135, allocations: 0.6562 kB / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.006264, allocations: 106.2 kB / 0.7921 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.006265, allocations: 0 / 0.7921 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.006303, allocations: 4 kB / 0.7921 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006305, allocations: 9.094 kB / 0.7921 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006309, allocations: 0 / 0.7921 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006311, allocations: 0 / 0.7921 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006312, allocations: 0.8438 kB / 0.7921 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.006434, allocations: 187.9 kB / 0.7923 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.006443, allocations: 4.844 kB / 0.7923 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.006453, allocations: 0 / 0.7923 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.006511, allocations: 5.281 kB / 0.7923 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.006542, allocations: 3.984 kB / 0.7923 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.006546, allocations: 3.938 kB / 0.7923 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.006589, allocations: 124 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006589, allocations: 0 / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002277/0.006817, allocations: 4 kB / 0.7925 GB, free: 7.719 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 0.0001187/0.006936, allocations: 100.3 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.957e-05/0.007015, allocations: 21.03 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007017, allocations: 0 / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.007036, allocations: 9.031 kB / 0.7926 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.007293, allocations: 4 kB / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.007567, allocations: 125.2 kB / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.007608, allocations: 59.28 kB / 0.7928 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.007629, allocations: 4 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.007677, allocations: 66.2 kB / 0.7928 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.007678, allocations: 0 / 0.7928 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.002602/0.01028, allocations: 0.523 MB / 0.7933 GB, free: 6.777 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: 4.984136274084449]