Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009938, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 185.8 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 9.719 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2785, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001075/0.2796, allocations: 0.5494 MB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2813, allocations: 1.17 MB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.2814, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.2815, allocations: 11.92 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2817, allocations: 15.86 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.2822, allocations: 130.6 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.2825, allocations: 307.4 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.2828, allocations: 96.08 kB / 1.062 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.2829, allocations: 111.7 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2831, allocations: 99.62 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.2831, allocations: 12 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.2832, allocations: 35.92 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.2833, allocations: 27.86 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2834, allocations: 137.2 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.2837, allocations: 283.6 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2837, allocations: 0 / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2837, allocations: 0 / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2837, allocations: 0 / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006568/0.2844, allocations: 0.5234 MB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2844, allocations: 8.031 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.2845, allocations: 24.75 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2849, allocations: 281.3 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.2849, allocations: 24.36 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.285, allocations: 20.38 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.2853, allocations: 178.1 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2853, allocations: 192 / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2853, allocations: 7.938 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2853, allocations: 4 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.2856, allocations: 155.9 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2866, allocations: 0.6639 MB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.2869, allocations: 126.5 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.287, allocations: 72.81 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.287, allocations: 3.938 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.2872, allocations: 183.2 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2873, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005006/0.2878, allocations: 292 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2878, allocations: 55.41 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.288, allocations: 203.6 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.2881, allocations: 37.69 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.2882, allocations: 136.3 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.2882, allocations: 35.45 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.2883, allocations: 41.7 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2884, allocations: 326.8 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2888, allocations: 223.8 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.2892, allocations: 276.2 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.2897, allocations: 397 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2897, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009296/0.2906, allocations: 0.6359 MB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/0.2907, allocations: 97.09 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2907, allocations: 0 / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2907, allocations: 4 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2908, allocations: 15.98 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2909, allocations: 4 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/0.2915, allocations: 139.9 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.2916, allocations: 27.97 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.0001713/0.2917, allocations: 165.7 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.2918, allocations: 19.75 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.2921, allocations: 237.7 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2921, allocations: 4 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2922, allocations: 4 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2922, allocations: 0 / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.2924, allocations: 281.4 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2924, allocations: 0 / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.2925, allocations: 8 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.2925, allocations: 3.984 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2925, allocations: 4 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2925, allocations: 0 / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2925, allocations: 0 / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.2929, allocations: 248.7 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.293, allocations: 96.84 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.293, allocations: 8 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.293, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.2931, allocations: 19.97 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.2931, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2932, allocations: 135.2 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2933, allocations: 7.875 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003153/0.2936, allocations: 63.91 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001481/0.2937, allocations: 111.2 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007276/0.2945, allocations: 0.5603 MB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2945, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2946, allocations: 107.9 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.295, allocations: 40.94 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.2957, allocations: 466.4 kB / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.296, allocations: 0.7477 MB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.2961, allocations: 15.44 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2961, allocations: 4 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of Templates: time 0.005703/0.3018, allocations: 3.226 MB / 1.074 GB, free: 5.762 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1)