Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.688/4.688, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 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.002486/0.002486, allocations: 355.3 kB / 0.6447 GB, free: 185.7 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.038/4.038, allocations: 410.7 MB / 1.113 GB, free: 6.051 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.001833/0.001833, allocations: 190.2 kB / 1.226 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004842, allocations: 16 kB / 1.349 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7105, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001384/0.7119, allocations: 1.01 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000694/0.7126, allocations: 353.9 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.7127, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.7127, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.7127, allocations: 6 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.7131, allocations: 77.38 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.7132, allocations: 23.92 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.7133, allocations: 7.984 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.7133, allocations: 13.61 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.7134, allocations: 11.94 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.7134, allocations: 4 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.7137, allocations: 171.6 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.7138, allocations: 7.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.7138, allocations: 30.77 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.7139, allocations: 58.03 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7139, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.734e-06/0.714, allocations: 4.594 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.714, allocations: 1.344 kB / 1.463 GB, free: 282.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003343/0.7143, allocations: 339.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.7144, allocations: 14.03 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.7144, allocations: 11.91 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.7145, allocations: 163 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7145, allocations: 4 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.7146, allocations: 7.938 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.7147, allocations: 49.67 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.7147, allocations: 0.7188 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.7147, allocations: 5.781 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.7147, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.7148, allocations: 19.98 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.715, allocations: 169.6 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.7151, allocations: 59.75 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.7152, allocations: 33.98 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.7152, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.7153, allocations: 31.31 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7153, allocations: 4 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001257/0.7165, allocations: 0.5865 MB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.7166, allocations: 55.41 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.441e-05/0.7166, allocations: 98.41 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.7167, allocations: 31.48 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.834e-05/0.7167, allocations: 80.14 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.7167, allocations: 39.45 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.7167, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.7168, allocations: 324.4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.7169, allocations: 19.98 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.7169, allocations: 20 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.717, allocations: 28.61 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.717, allocations: 96 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001852/0.7172, allocations: 102.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7173, allocations: 8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7173, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7173, allocations: 4.781 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.7175, allocations: 19.98 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.7175, allocations: 4.531 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.7175, allocations: 1.312 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7175, allocations: 0 / 1.465 GB, free: 280.1 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 (13): * Single equations (assignments): 13 * 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 6.844e-05/0.7176, allocations: 122.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.7177, allocations: 11.91 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.7179, allocations: 98.5 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.7179, allocations: 2.172 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7179, allocations: 0 / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.718, allocations: 85.02 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.718, allocations: 1 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.7181, allocations: 4 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.7181, allocations: 18.53 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002828/0.7184, allocations: 176.9 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003079/0.7187, allocations: 292.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.923e-05/0.7188, allocations: 29.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.7189, allocations: 79.28 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Backend: time 5.01e-07/0.7189, allocations: 0.5938 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.7194, allocations: 164.1 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006388/0.7201, allocations: 0.7574 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.006195/0.7263, allocations: 1.041 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB