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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001867/0.001867, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.707/1.707, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.619/1.619, allocations: 251.7 MB / 0.5089 GB, free: 3.348 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.001788/0.001788, allocations: 63.91 kB / 0.6218 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6905, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.003305/0.6939, allocations: 1.488 MB / 0.7255 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004578/0.6944, allocations: 196.2 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.6944, allocations: 0 / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.6945, allocations: 0 / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.6946, allocations: 3.938 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.6948, allocations: 23.97 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.6949, allocations: 39.86 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.6951, allocations: 15.98 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.6951, allocations: 11.94 kB / 0.7257 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.6952, allocations: 27.84 kB / 0.7258 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.6952, allocations: 4 kB / 0.7258 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.6952, allocations: 4 kB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.6953, allocations: 8 kB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.6953, allocations: 15.92 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6954, allocations: 43.8 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6954, allocations: 0 / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6955, allocations: 0 / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.6955, allocations: 4 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005835/0.6961, allocations: 365.3 kB / 0.7262 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.6961, allocations: 12.03 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.6962, allocations: 4.922 kB / 0.7262 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.6964, allocations: 172.3 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6964, allocations: 384 / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.6964, allocations: 4.375 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.6967, allocations: 66.22 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6967, allocations: 4.125 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.6967, allocations: 3.938 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6967, allocations: 3.938 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.697, allocations: 67.92 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.6974, allocations: 265 kB / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.6977, allocations: 58.47 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.6978, allocations: 40.92 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.6979, allocations: 3.938 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.6979, allocations: 30.56 kB / 0.7269 GB, free: 9.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.6979, allocations: 0 / 0.7269 GB, free: 9.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005628/0.6985, allocations: 133.5 kB / 0.727 GB, free: 9.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.6985, allocations: 55.41 kB / 0.7271 GB, free: 9.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.6987, allocations: 105.8 kB / 0.7272 GB, free: 9.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.6987, allocations: 29.7 kB / 0.7272 GB, free: 9.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.6988, allocations: 88.08 kB / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.6988, allocations: 15.88 kB / 0.7273 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.6989, allocations: 17.72 kB / 0.7273 GB, free: 9.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.699, allocations: 314.8 kB / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.6992, allocations: 31.89 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.6993, allocations: 31.97 kB / 0.7277 GB, free: 9.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.6995, allocations: 68.78 kB / 0.7277 GB, free: 9.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6996, allocations: 7.938 kB / 0.7278 GB, free: 9.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000288/0.6999, allocations: 105.8 kB / 0.7279 GB, free: 8.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6999, allocations: 4 kB / 0.7279 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6999, allocations: 0 / 0.7279 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6999, allocations: 8.031 kB / 0.7279 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.7001, allocations: 23.97 kB / 0.7279 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.7001, allocations: 0 / 0.7279 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.7002, allocations: 11.98 kB / 0.7279 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.7002, allocations: 3.938 kB / 0.7279 GB, free: 8.883 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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 8.458e-05/0.7003, allocations: 109.8 kB / 0.728 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.7003, allocations: 8 kB / 0.728 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.7003, allocations: 3.906 kB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7003, allocations: 4 kB / 0.728 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7003, allocations: 0 / 0.728 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.7004, allocations: 3.984 kB / 0.728 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.7005, allocations: 173.5 kB / 0.7282 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7005, allocations: 0 / 0.7282 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.7006, allocations: 15.98 kB / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7006, allocations: 0 / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.7007, allocations: 0 / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7007, allocations: 4.312 kB / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7007, allocations: 0 / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.701, allocations: 199.4 kB / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.7011, allocations: 84.98 kB / 0.7285 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.7011, allocations: 0 / 0.7285 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7012, allocations: 11.98 kB / 0.7285 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.7013, allocations: 11.98 kB / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.7013, allocations: 4 kB / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.7013, allocations: 87.25 kB / 0.7286 GB, free: 8.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7013, allocations: 4 kB / 0.7286 GB, free: 8.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002085/0.7015, allocations: 11.91 kB / 0.7286 GB, free: 8.059 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0001656/0.7017, allocations: 99.25 kB / 0.7287 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.702, allocations: 71.92 kB / 0.7288 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.702, allocations: 0 / 0.7288 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.7022, allocations: 39.89 kB / 0.7288 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.7025, allocations: 7.938 kB / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.7029, allocations: 145.2 kB / 0.729 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.7032, allocations: 0.6768 MB / 0.7296 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.7032, allocations: 7.984 kB / 0.7296 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.7033, allocations: 7.438 kB / 0.7296 GB, free: 6.949 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.7033, allocations: 0 / 0.7296 GB, free: 6.949 MB / 0.545 GB Notification: Performance of Templates: time 0.003186/0.7064, allocations: 0.6124 MB / 0.7302 GB, free: 6.344 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)