Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.731/4.731, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.002389/0.002389, allocations: 356.6 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.027/4.027, allocations: 410.7 MB / 1.113 GB, free: 5.922 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.00184/0.00184, allocations: 201.9 kB / 1.226 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 15.98 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6974/0.6979, 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_DerivativeCheck): time 0.001335/0.6993, allocations: 1.003 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.7, allocations: 345.8 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.7, allocations: 0.9375 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.7001, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.7001, allocations: 2.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.7005, allocations: 75.66 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.7006, allocations: 15.94 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.7006, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.7007, allocations: 7.984 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.7007, allocations: 7.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.7007, allocations: 0.625 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.7011, allocations: 174.1 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.7011, allocations: 11.98 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.7011, allocations: 25.7 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.7013, allocations: 54.05 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.7013, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7013, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.7013, allocations: 0 / 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003101/0.7016, allocations: 332.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7017, allocations: 11.62 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.7017, allocations: 4.844 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.7018, allocations: 170.9 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.7018, allocations: 10.56 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.7019, allocations: 0 / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.702, allocations: 42.77 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.702, allocations: 3.938 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.702, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.702, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.7021, allocations: 11.98 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.7023, allocations: 162.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.7025, allocations: 45.23 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.7025, allocations: 16.86 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.7025, allocations: 0.5938 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.7026, allocations: 36.61 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.7026, allocations: 4 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0006063/0.7032, allocations: 311.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.7032, allocations: 52.16 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.7033, allocations: 99.92 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.7033, allocations: 29.69 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.7033, allocations: 82.77 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.7034, allocations: 27.59 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.7034, allocations: 3.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.7035, allocations: 314.8 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.7035, allocations: 15.98 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.7035, allocations: 9.281 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.7036, allocations: 12 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7036, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.7037, allocations: 66.69 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7038, allocations: 7.594 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7038, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7038, allocations: 4.5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.7039, allocations: 12.95 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7039, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.7039, allocations: 3.938 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.704, allocations: 5.312 kB / 1.465 GB, free: 280.6 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): 7 * 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 5.92e-05/0.704, allocations: 117.3 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.704, allocations: 8.562 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.7042, allocations: 70.83 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.7042, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7042, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.7043, allocations: 82.67 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.7043, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.7044, allocations: 3.984 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.7044, allocations: 5.5 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001789/0.7046, allocations: 150.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002046/0.7048, allocations: 253.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.35e-05/0.7049, allocations: 20.08 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.7049, allocations: 83.28 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Backend: time 1.203e-06/0.7049, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.7055, allocations: 131.9 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004974/0.706, allocations: 0.6459 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003616/0.7096, allocations: 0.8129 MB / 1.467 GB, free: 278.2 MB / 0.8542 GB