Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007916, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005161/0.005162, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.426/1.426, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005308, allocations: 8 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7634, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001184/0.7646, allocations: 0.9844 MB / 0.956 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.7655, allocations: 0.5904 MB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.7655, allocations: 0 / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.7656, allocations: 0 / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.7656, allocations: 5.062 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.766, allocations: 121.3 kB / 0.9567 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.86e-05/0.766, allocations: 13.61 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.7661, allocations: 1.188 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.7661, allocations: 6.219 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.7662, allocations: 6.141 kB / 0.9567 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.7662, allocations: 1.094 kB / 0.9567 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.7666, allocations: 344.1 kB / 0.957 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.7666, allocations: 4 kB / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.7667, allocations: 32.25 kB / 0.9571 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.7669, allocations: 147.7 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7669, allocations: 1.344 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7669, allocations: 0 / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.7669, allocations: 0 / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000295/0.7672, allocations: 342.3 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.7673, allocations: 8.531 kB / 0.9576 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.7673, allocations: 2.406 kB / 0.9576 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/0.7674, allocations: 169.8 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.7674, allocations: 384 / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.7674, allocations: 1.812 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.7675, allocations: 33.62 kB / 0.9578 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7675, allocations: 192 / 0.9578 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.7675, allocations: 3.938 kB / 0.9578 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.7675, allocations: 1.688 kB / 0.9578 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.7676, allocations: 5.812 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.7677, allocations: 156.7 kB / 0.9579 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.7677, allocations: 20.27 kB / 0.9579 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.7678, allocations: 14.89 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.7678, allocations: 2.156 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.7678, allocations: 30.56 kB / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.7678, allocations: 0 / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.7679, allocations: 50.97 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.768, allocations: 55.53 kB / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.768, allocations: 93.55 kB / 0.9582 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.768, allocations: 25.7 kB / 0.9582 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.553e-05/0.7681, allocations: 84.08 kB / 0.9583 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.7681, allocations: 13.81 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.7681, allocations: 9.719 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.7682, allocations: 316.8 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.7682, allocations: 2.188 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.7682, allocations: 6 kB / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.7682, allocations: 12.48 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.7682, allocations: 1.594 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.088e-05/0.7683, allocations: 41.55 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.7683, allocations: 4.438 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7683, allocations: 4.688 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7683, allocations: 5.578 kB / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.7685, allocations: 7.594 kB / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002273/0.7687, allocations: 0.5862 MB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.7687, allocations: 5.438 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.7687, allocations: 0 / 0.9593 GB, free: 3.867 MB / 0.7169 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.7688, allocations: 119.1 kB / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.7688, allocations: 5.188 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.7689, allocations: 44.98 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7689, allocations: 5.266 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7689, allocations: 0 / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7689, allocations: 0 / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.468e-05/0.769, allocations: 152.9 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.769, allocations: 0 / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.7691, allocations: 12.36 kB / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.7691, allocations: 0 / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.7691, allocations: 1.281 kB / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00018/0.7693, allocations: 0.5865 MB / 0.9602 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7693, allocations: 3.938 kB / 0.9602 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.295e-05/0.7693, allocations: 62.66 kB / 0.9602 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.7694, allocations: 78.7 kB / 0.9603 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.7694, allocations: 0 / 0.9603 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.7694, allocations: 5.656 kB / 0.9603 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.7694, allocations: 3.938 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.7694, allocations: 9.469 kB / 0.9603 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.924e-05/0.7694, allocations: 76.84 kB / 0.9604 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7694, allocations: 3.938 kB / 0.9604 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001894/0.7696, allocations: 11.41 kB / 0.9604 GB, free: 2.629 MB / 0.7169 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.7698, allocations: 115.3 kB / 0.9605 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.77, allocations: 22.05 kB / 0.9605 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.77, allocations: 0 / 0.9605 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.77, allocations: 13.16 kB / 0.9605 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.7702, allocations: 2.781 kB / 0.9605 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.7705, allocations: 117.8 kB / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.7706, allocations: 0.6806 MB / 0.9613 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.7707, allocations: 0 / 0.9613 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.105e-05/0.7707, allocations: 11.38 kB / 0.9613 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7707, allocations: 1.781 kB / 0.9613 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.002463/0.7731, allocations: 408.9 kB / 0.9617 GB, free: 1.473 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches