Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.861/4.861, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 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.002428/0.002428, allocations: 354.6 kB / 0.644 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.375/4.375, allocations: 410.7 MB / 1.112 GB, free: 5.902 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.001799/0.001799, allocations: 192.3 kB / 1.225 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004947, allocations: 12 kB / 1.348 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6841, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0009511/0.6851, allocations: 0.5306 MB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.6863, allocations: 0.9936 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.6864, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-05/0.6865, allocations: 4.719 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/0.6866, allocations: 24.47 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.6869, allocations: 68.84 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.687, allocations: 103.7 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.6871, allocations: 37.12 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.6872, allocations: 41.97 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.6873, allocations: 43.77 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.6873, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.6874, allocations: 51.95 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.6875, allocations: 23.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.6875, allocations: 48.39 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.6877, allocations: 129.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.04e-06/0.6877, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.636e-06/0.6877, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.6877, allocations: 0 / 1.463 GB, free: 282.2 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008326/0.6886, allocations: 494.9 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.6886, allocations: 12.38 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.6887, allocations: 15.81 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.6888, allocations: 203.4 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6889, allocations: 6.031 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.6889, allocations: 8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.6895, allocations: 210.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.746e-06/0.6895, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.6895, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.6896, allocations: 13.05 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.6905, allocations: 256.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.6914, allocations: 488.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.6919, allocations: 171.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.6924, allocations: 159.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.6924, allocations: 5.688 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.6924, allocations: 34.52 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.62e-06/0.6924, allocations: 1.688 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.001594/0.6941, allocations: 479.4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.6941, allocations: 55.39 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6942, allocations: 141.8 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.6942, allocations: 33.77 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.6943, allocations: 117.1 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.6944, allocations: 47.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-06/0.6944, allocations: 1.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.6944, allocations: 322.8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.6949, allocations: 140.5 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.6954, allocations: 140.9 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.6958, allocations: 153.7 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6959, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001069/0.6969, allocations: 326.2 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.697, allocations: 4.656 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.697, allocations: 7.953 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.697, allocations: 4.594 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.6973, allocations: 47.52 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.655e-06/0.6973, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.6975, allocations: 55.89 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.6976, allocations: 7.984 kB / 1.467 GB, free: 278 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.907e-05/0.6977, allocations: 125.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.6977, allocations: 11.81 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.6978, allocations: 16.83 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.47e-05/0.6978, allocations: 14.7 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-06/0.6978, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-06/0.6979, allocations: 4 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.6981, allocations: 225.5 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-06/0.6982, allocations: 0 / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.6984, allocations: 45.7 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.782e-06/0.6985, allocations: 4.562 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6985, allocations: 0.7812 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-06/0.6985, allocations: 0 / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.289e-06/0.6985, allocations: 9.438 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.6999, allocations: 429.1 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.6999, allocations: 94.08 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.7, allocations: 0.7812 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.7005, allocations: 43 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.7006, allocations: 23.92 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.7006, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.7007, allocations: 111.8 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7007, allocations: 0.875 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000372/0.7011, allocations: 39.94 kB / 1.468 GB, free: 276.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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001866/0.7013, allocations: 116.2 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009459/0.7022, allocations: 310.5 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.658e-06/0.7022, allocations: 0 / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.7029, allocations: 160.4 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.7033, allocations: 22.48 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.7039, allocations: 361.8 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.7041, allocations: 0.7254 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.7042, allocations: 22.66 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.7043, allocations: 12.12 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of SimCode: time 1.65e-06/0.7043, allocations: 0 / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of Templates: time 0.005152/0.7095, allocations: 1.523 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB