Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.646/5.646, allocations: 0.5623 GB / 0.5776 GB, free: 3.289 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.002552/0.002552, allocations: 362.3 kB / 0.6447 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.318/4.318, allocations: 410.7 MB / 1.113 GB, free: 5.914 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.001919/0.001919, allocations: 189.5 kB / 1.226 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005226, allocations: 19.98 kB / 1.349 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7908, 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.Cos): time 0.0009155/0.7918, allocations: 393.9 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.7929, allocations: 0.801 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.7929, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.793, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.7931, allocations: 9.266 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.7932, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.7933, allocations: 23.92 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.7934, allocations: 4.844 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.7935, allocations: 10.22 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.7936, allocations: 15.84 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.7936, allocations: 4 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.7936, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.7936, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.7937, allocations: 29.7 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.758e-05/0.7937, allocations: 15.95 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7937, allocations: 5.125 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7938, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.7938, allocations: 4 kB / 1.463 GB, free: 283 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004432/0.7942, allocations: 327.5 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7943, allocations: 17.45 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.7943, allocations: 8.984 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.7944, allocations: 163 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.7945, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.7945, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.7947, allocations: 59.86 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7947, allocations: 1.219 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.7948, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7948, allocations: 2.281 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.7951, allocations: 44.48 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.7954, allocations: 251.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.7956, allocations: 47.19 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.7958, allocations: 23.06 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.7958, allocations: 3.984 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.7959, allocations: 39.41 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.7959, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0005502/0.7964, allocations: 92.89 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.7965, allocations: 51.91 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.7966, allocations: 101.5 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.7966, allocations: 29.7 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.7966, allocations: 88.08 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.7967, allocations: 7.891 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.7967, allocations: 5.219 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.7968, allocations: 314.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.7969, allocations: 25.05 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7971, allocations: 18.36 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.7972, allocations: 29.05 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7972, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003441/0.7976, allocations: 79.75 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7976, allocations: 4.656 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7976, allocations: 6.844 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7977, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.7978, allocations: 11.98 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.7978, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.7979, allocations: 7.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.7979, allocations: 4.75 kB / 1.464 GB, free: 281 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 (2): * Single equations (assignments): 2 * 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 7.5e-05/0.798, allocations: 114.6 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.7981, allocations: 4 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.7984, allocations: 83.47 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7985, allocations: 1.625 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7985, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.7985, allocations: 85.09 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.7985, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7987, allocations: 8.641 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.7987, allocations: 10 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003874/0.7991, allocations: 165.1 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003658/0.7995, allocations: 245 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000153/0.7997, allocations: 21.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.7997, allocations: 87.92 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Backend: time 8.11e-07/0.7997, allocations: 0.875 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.8003, allocations: 96.39 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004982/0.8008, allocations: 0.5665 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003174/0.804, allocations: 438.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB