Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008379/0.008378, allocations: 101.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 194.2 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.68/1.68, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 73.77 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3041, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002243/0.3064, allocations: 0.6609 MB / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.3066, allocations: 15.92 kB / 0.8288 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.3067, allocations: 7.938 kB / 0.8288 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.3068, allocations: 0 / 0.8288 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.3069, allocations: 3.938 kB / 0.8288 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.862e-05/0.307, allocations: 0 / 0.8288 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3071, allocations: 27.97 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.3073, allocations: 31.98 kB / 0.8288 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.3073, allocations: 15.94 kB / 0.8289 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.3074, allocations: 11.94 kB / 0.8289 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3074, allocations: 4 kB / 0.8289 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.3074, allocations: 3.938 kB / 0.8289 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.3075, allocations: 19.91 kB / 0.8289 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.3075, allocations: 19.88 kB / 0.8289 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.3077, allocations: 55.75 kB / 0.829 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3077, allocations: 0 / 0.829 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3077, allocations: 0 / 0.829 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3077, allocations: 0 / 0.829 GB, free: 15.29 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005185/0.3082, allocations: 355.3 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3083, allocations: 8.031 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.3083, allocations: 8.844 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3085, allocations: 176.3 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3086, allocations: 384 / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3086, allocations: 12.38 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3088, allocations: 74.17 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3088, allocations: 4.188 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3088, allocations: 3.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3088, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.3089, allocations: 51.91 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.3095, allocations: 0.4912 MB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3097, allocations: 169.5 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.3097, allocations: 80.14 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.3097, allocations: 75.28 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.3098, allocations: 105.8 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 3.887e-06/0.3098, allocations: 0 / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.687e-05/0.3099, allocations: 45.53 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.31, allocations: 134.7 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3102, allocations: 176.5 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3102, allocations: 25.7 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.3102, allocations: 100 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.3103, allocations: 0 / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.3103, allocations: 13.72 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3104, allocations: 314.8 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.3105, allocations: 11.98 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.3105, allocations: 4 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.3105, allocations: 24.78 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3105, allocations: 0 / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001209/0.3107, allocations: 45.69 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3107, allocations: 8 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3107, allocations: 0 / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3107, allocations: 3.984 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.3108, allocations: 4.094 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3108, allocations: 7.938 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.3109, allocations: 11.84 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3109, allocations: 0 / 0.8314 GB, free: 12.56 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.0001223/0.311, allocations: 193.1 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.3111, allocations: 112.8 kB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.3112, allocations: 108.9 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.718e-05/0.3112, allocations: 184.4 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.701e-05/0.3113, allocations: 196.1 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.909e-05/0.3114, allocations: 176.3 kB / 0.8323 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3116, allocations: 417.1 kB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.3116, allocations: 105 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.3117, allocations: 109 kB / 0.8329 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.886e-05/0.3118, allocations: 184.2 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.3118, allocations: 176.3 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-05/0.3119, allocations: 180.2 kB / 0.8334 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-05/0.3119, allocations: 184.2 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3121, allocations: 315.8 kB / 0.8339 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.3122, allocations: 186 kB / 0.8341 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.3123, allocations: 180.5 kB / 0.8343 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.3123, allocations: 113 kB / 0.8344 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.3124, allocations: 184.1 kB / 0.8346 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.3125, allocations: 105 kB / 0.8347 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.918e-05/0.3126, allocations: 135.2 kB / 0.8348 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3126, allocations: 0 / 0.8348 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002155/0.3128, allocations: 8 kB / 0.8348 GB, free: 8.852 MB / 0.6544 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 (0): * Single equations (assignments): 0 * 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.0001863/0.313, allocations: 170.5 kB / 0.835 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.624e-05/0.3131, allocations: 11.98 kB / 0.835 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3131, allocations: 0 / 0.835 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.3131, allocations: 3.938 kB / 0.835 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3135, allocations: 467.8 kB / 0.8354 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.3138, allocations: 216.1 kB / 0.8356 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3142, allocations: 0.6961 MB / 0.8363 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.3142, allocations: 7.984 kB / 0.8363 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.3142, allocations: 7.438 kB / 0.8363 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.3142, allocations: 8 kB / 0.8363 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of Templates: time 0.002685/0.3169, allocations: 472.3 kB / 0.8368 GB, free: 6.754 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)