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.00637/0.00637, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001224/0.001224, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.679/1.679, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.002281/0.002282, allocations: 70.09 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.275, allocations: 104.7 MB / 0.8281 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002405/0.2775, allocations: 0.6662 MB / 0.8288 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.2776, allocations: 11.94 kB / 0.8288 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.2777, allocations: 4 kB / 0.8288 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2778, allocations: 3.938 kB / 0.8288 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.2779, allocations: 7.984 kB / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.767e-05/0.278, allocations: 0 / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2781, allocations: 27.92 kB / 0.8288 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2783, allocations: 35.91 kB / 0.8288 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.2783, allocations: 12 kB / 0.8289 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.2784, allocations: 19.86 kB / 0.8289 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.2784, allocations: 3.938 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.2784, allocations: 4 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.2785, allocations: 12 kB / 0.8289 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.2785, allocations: 19.88 kB / 0.8289 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.2787, allocations: 51.73 kB / 0.829 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2787, allocations: 0 / 0.829 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2787, allocations: 0 / 0.829 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2787, allocations: 0 / 0.829 GB, free: 15.37 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.0004488/0.2792, allocations: 357.9 kB / 0.8293 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2792, allocations: 8.031 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.2793, allocations: 8.891 kB / 0.8293 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2795, allocations: 184.3 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.2795, allocations: 4.312 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.2795, allocations: 8.375 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2797, allocations: 74.22 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2797, allocations: 192 / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2798, allocations: 7.938 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2798, allocations: 0 / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.2799, allocations: 47.97 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.2805, allocations: 495.1 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.2806, allocations: 173.5 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.2807, allocations: 80.14 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2807, allocations: 75.28 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.2808, allocations: 105.8 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.422e-06/0.2808, allocations: 4 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.623e-05/0.2809, allocations: 37.66 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.281, allocations: 126.7 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.2812, allocations: 177.6 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2812, allocations: 25.7 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2813, allocations: 96.12 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.2813, allocations: 0 / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.2814, allocations: 17.77 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2816, allocations: 326.8 kB / 0.8313 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.2816, allocations: 8 kB / 0.8313 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.2816, allocations: 7.984 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.2817, allocations: 12.86 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2817, allocations: 4 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001662/0.2819, allocations: 53.62 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2819, allocations: 4 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2819, allocations: 8.094 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2819, allocations: 0 / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.282, allocations: 0 / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.282, allocations: 11.81 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.2821, allocations: 7.938 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2821, allocations: 4 kB / 0.8314 GB, free: 12.63 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.0001338/0.2823, allocations: 189.1 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.2823, allocations: 112.9 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.2824, allocations: 120.8 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.608e-05/0.2825, allocations: 180.2 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.549e-05/0.2826, allocations: 180.2 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.23e-05/0.2827, allocations: 188.2 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.2831, allocations: 417.2 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/0.2831, allocations: 105 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.2832, allocations: 104.9 kB / 0.8329 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.354e-05/0.2833, allocations: 184.3 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.2834, allocations: 180.2 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-05/0.2835, allocations: 176.3 kB / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.523e-05/0.2836, allocations: 188.1 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.2838, allocations: 315.8 kB / 0.8339 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2839, allocations: 198 kB / 0.8341 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.284, allocations: 176.5 kB / 0.8343 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.2841, allocations: 101 kB / 0.8344 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.2842, allocations: 196.1 kB / 0.8346 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.2843, allocations: 105 kB / 0.8347 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001267/0.2844, allocations: 133.7 kB / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2844, allocations: 0 / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002541/0.2847, allocations: 4 kB / 0.8348 GB, free: 8.922 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.0002078/0.2849, allocations: 178.5 kB / 0.835 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.867e-05/0.285, allocations: 15.88 kB / 0.835 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.285, allocations: 4.062 kB / 0.835 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.285, allocations: 0 / 0.835 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.2856, allocations: 459.7 kB / 0.8354 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.2861, allocations: 208.1 kB / 0.8356 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.2865, allocations: 0.6961 MB / 0.8363 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.2866, allocations: 12 kB / 0.8363 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.2866, allocations: 7.438 kB / 0.8363 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2866, allocations: 0 / 0.8363 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of Templates: time 0.003763/0.2904, allocations: 475.1 kB / 0.8368 GB, free: 6.832 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)