Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.789/4.789, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002532, allocations: 362.4 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.507/4.507, allocations: 410.7 MB / 1.112 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0029/0.0029, allocations: 189.8 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004955, allocations: 20 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6052, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001176/0.6064, allocations: 426.2 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.608, allocations: 0.8542 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.6081, allocations: 8.969 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.6081, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.6082, allocations: 5.219 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.6085, allocations: 19.97 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.6086, allocations: 39.84 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.6087, allocations: 5.062 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.6088, allocations: 20.42 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.6089, allocations: 17.42 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.6089, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.609, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.609, allocations: 3.984 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.6091, allocations: 34.45 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/0.6092, allocations: 23.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.786e-06/0.6092, allocations: 0.5938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.596e-06/0.6092, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.6093, allocations: 5.625 kB / 1.462 GB, free: 282.9 MB / 0.8542 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.0006862/0.61, allocations: 363.2 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.61, allocations: 19.56 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.6101, allocations: 6.531 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.6102, allocations: 175 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.6103, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.6103, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.6108, allocations: 79.97 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6109, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.6109, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.723e-06/0.6109, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.6116, allocations: 84.14 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.6121, allocations: 271 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.6126, allocations: 64.77 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.6129, allocations: 55.31 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.613, allocations: 2.094 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.613, allocations: 31.22 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 3.327e-06/0.613, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.001165/0.6142, allocations: 175.9 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6143, allocations: 51.41 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.6144, allocations: 111.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6145, allocations: 25.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.6145, allocations: 88.14 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.6146, allocations: 8.406 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-06/0.6146, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.6147, allocations: 323.4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.6151, allocations: 42.56 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.6154, allocations: 42.33 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.6157, allocations: 44.67 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-06/0.6158, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007443/0.6165, allocations: 130.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6166, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.401e-06/0.6166, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6166, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.6169, allocations: 24.75 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.162e-06/0.6169, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.6171, allocations: 19.83 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.6172, allocations: 3.953 kB / 1.464 GB, free: 280.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.6173, allocations: 109.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-05/0.6174, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.6175, allocations: 11.89 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.096e-06/0.6175, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6175, allocations: 0.5625 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-06/0.6175, allocations: 0.625 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.6178, allocations: 169.6 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-06/0.6179, allocations: 0.9688 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6181, allocations: 25.05 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.489e-06/0.6181, allocations: 1.125 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.6182, allocations: 4.953 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6182, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.242e-06/0.6182, allocations: 7.875 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.619, allocations: 220.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.6191, allocations: 81.95 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.6191, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.6194, allocations: 21.81 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.6195, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.6195, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.6196, allocations: 88.02 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.103e-06/0.6196, allocations: 1.375 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006697/0.6203, allocations: 8 kB / 1.465 GB, free: 279.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.6205, allocations: 103.5 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007262/0.6213, allocations: 97.05 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.016e-06/0.6213, allocations: 0.9688 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.6217, allocations: 51.02 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.6224, allocations: 11.89 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.6229, allocations: 132 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.6231, allocations: 0.6854 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.008e-05/0.6232, allocations: 5.125 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.6233, allocations: 7.438 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.274e-06/0.6233, allocations: 1.562 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004832/0.6282, allocations: 0.5693 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB