Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 197 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.347/2.347, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.88 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.715, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002964/0.718, allocations: 1.253 MB / 0.9508 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.7189, allocations: 0.5842 MB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.719, allocations: 3.938 kB / 0.9514 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.719, allocations: 3.938 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.7191, allocations: 1.438 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.7198, allocations: 146.3 kB / 0.9515 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.7199, allocations: 16.64 kB / 0.9515 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.7199, allocations: 1 kB / 0.9515 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.7199, allocations: 6.203 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.72, allocations: 2.406 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.72, allocations: 1.031 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.7205, allocations: 344.9 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.7206, allocations: 5.188 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.7206, allocations: 6.469 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.7209, allocations: 144.8 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7209, allocations: 0 / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7209, allocations: 0 / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.7209, allocations: 0 / 0.952 GB, free: 7.242 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.0003795/0.7213, allocations: 347.3 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7214, allocations: 14.33 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.7214, allocations: 0.9375 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.7215, allocations: 161.5 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.7215, allocations: 5.406 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.7215, allocations: 1.469 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.7216, allocations: 37.33 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7216, allocations: 192 / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.7216, allocations: 4.844 kB / 0.9526 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.7216, allocations: 0 / 0.9526 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.7217, allocations: 7.266 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.7218, allocations: 152.9 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.7219, allocations: 23.98 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.7219, allocations: 10.25 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.7219, allocations: 1.344 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.7219, allocations: 35.91 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.722, allocations: 0 / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.7221, allocations: 42.67 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.7221, allocations: 53.25 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.7222, allocations: 103.8 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.7222, allocations: 25.7 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.7222, allocations: 81.61 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.7223, allocations: 7.844 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.7223, allocations: 13.28 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.7223, allocations: 318.8 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.7224, allocations: 1.5 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.7224, allocations: 10.42 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.7224, allocations: 15.3 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7224, allocations: 0 / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.926e-05/0.7225, allocations: 38.08 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7225, allocations: 4.906 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.7225, allocations: 3.938 kB / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7225, allocations: 0 / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7227, allocations: 11.83 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002607/0.723, allocations: 0.5826 MB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.723, allocations: 5.156 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.723, allocations: 1.25 kB / 0.9541 GB, free: 5.008 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 5.41e-05/0.7231, allocations: 116.3 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.7231, allocations: 1.25 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.7232, allocations: 52.75 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7232, allocations: 0 / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7232, allocations: 1.594 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7232, allocations: 0 / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.862e-05/0.7233, allocations: 155.8 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7233, allocations: 2.031 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.7234, allocations: 10.3 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7234, allocations: 1.25 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7234, allocations: 0 / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002038/0.7236, allocations: 0.5984 MB / 0.955 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7236, allocations: 3.938 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.146e-05/0.7237, allocations: 63.31 kB / 0.955 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.7237, allocations: 77.11 kB / 0.9551 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.7237, allocations: 1.094 kB / 0.9551 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.7237, allocations: 0 / 0.9551 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.7238, allocations: 13.17 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.7238, allocations: 1.281 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.7238, allocations: 76.62 kB / 0.9552 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7238, allocations: 0 / 0.9552 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.724, allocations: 15.3 kB / 0.9552 GB, free: 3.762 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.0001648/0.7242, allocations: 107.7 kB / 0.9553 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.7244, allocations: 24.98 kB / 0.9553 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7244, allocations: 4.062 kB / 0.9553 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.7245, allocations: 16.88 kB / 0.9554 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.7247, allocations: 1.375 kB / 0.9554 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.725, allocations: 117.8 kB / 0.9555 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.7251, allocations: 0.6715 MB / 0.9561 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.7252, allocations: 8.734 kB / 0.9561 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.7252, allocations: 8.75 kB / 0.9561 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.7252, allocations: 0 / 0.9561 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.002725/0.7279, allocations: 448.2 kB / 0.9566 GB, free: 2.598 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches