Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 104 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 68.12 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7993, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002269/0.8016, allocations: 1.276 MB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.8026, allocations: 0.611 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.8026, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.8027, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.8027, allocations: 7.922 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.8033, allocations: 147.4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.8034, allocations: 15.94 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.8034, allocations: 7.984 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.8035, allocations: 7.938 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.8035, allocations: 8 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.8035, allocations: 0 / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.804, allocations: 347.3 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.8041, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.8041, allocations: 15.91 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.8043, allocations: 143.5 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8044, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8044, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.8044, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 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.0004525/0.8048, allocations: 357.3 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8049, allocations: 16.03 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.8049, allocations: 4.844 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.8051, allocations: 168.3 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.8051, allocations: 384 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.8051, allocations: 4.375 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.8052, allocations: 46.19 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8053, allocations: 4.125 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.8053, allocations: 3.938 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8053, allocations: 0 / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.8053, allocations: 15.92 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.8055, allocations: 157.7 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.8057, allocations: 46.55 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.8058, allocations: 16.86 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.8058, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.8058, allocations: 38.56 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.8058, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.000658/0.8065, allocations: 314.2 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.8065, allocations: 51.41 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.8066, allocations: 97.86 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8066, allocations: 25.7 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.8067, allocations: 84.14 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.8067, allocations: 23.64 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.8068, allocations: 25.72 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8069, allocations: 314.8 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.8069, allocations: 8 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.8069, allocations: 12 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.807, allocations: 36.98 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.807, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.597e-05/0.8071, allocations: 69.55 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8071, allocations: 7.938 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8071, allocations: 3.984 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8072, allocations: 4 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.8072, allocations: 12 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.8072, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.8073, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.8073, allocations: 4 kB / 1.213 GB, free: 8.824 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.8074, allocations: 109.8 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.8074, allocations: 7.938 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.8075, allocations: 73.58 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8075, allocations: 0 / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8075, allocations: 4 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8075, allocations: 0 / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.8079, allocations: 319.3 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8079, allocations: 4.188 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.8079, allocations: 15.98 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.808, allocations: 3.938 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.808, allocations: 8 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.808, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.808, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.8082, allocations: 188.2 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.8082, allocations: 81.14 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.8083, allocations: 0.5156 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.8083, allocations: 4 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.8084, allocations: 3.984 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.8084, allocations: 8 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.8084, allocations: 83.33 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8084, allocations: 4 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002415/0.8087, allocations: 16 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.8089, allocations: 127.2 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.809, allocations: 31.94 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.809, allocations: 0 / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.809, allocations: 19.98 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.8093, allocations: 8 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.8097, allocations: 218.1 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.81, allocations: 0.6845 MB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.81, allocations: 11.44 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.81, allocations: 0 / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of Templates: time 0.00228/0.8123, allocations: 0.7954 MB / 1.216 GB, free: 5.836 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)