Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008033/0.0008033, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009868/0.0009869, allocations: 173 kB / 16.92 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6646, allocations: 153.8 MB / 1.024 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00138/0.666, allocations: 0.9846 MB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.667, allocations: 0.5956 MB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.6671, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.6671, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.6672, allocations: 3.984 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.6677, allocations: 111.6 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.6678, allocations: 11.92 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.6679, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.6679, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.668, allocations: 7.938 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.668, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.6685, allocations: 347.3 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.6685, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.6686, allocations: 37.69 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.6688, allocations: 97.73 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6688, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6688, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6688, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.7794 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.0004059/0.6692, allocations: 347.5 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6693, allocations: 8.031 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.6693, allocations: 4.938 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.6695, allocations: 168.4 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6695, allocations: 384 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.6695, allocations: 384 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.6696, allocations: 38.19 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.6696, allocations: 192 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.6696, allocations: 3.938 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6696, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.6697, allocations: 8 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.6698, allocations: 153.7 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.6699, allocations: 22.58 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.6699, allocations: 16.86 kB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.6699, allocations: 0 / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.67, allocations: 34.5 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.67, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.6701, allocations: 45.62 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6702, allocations: 59.53 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.6702, allocations: 89.86 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.6703, allocations: 25.7 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.6703, allocations: 84.14 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.6703, allocations: 11.84 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.6704, allocations: 9.719 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.6705, allocations: 314.8 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.6705, allocations: 4.125 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.6705, allocations: 7.938 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.6705, allocations: 16.8 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6706, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.606e-05/0.6706, allocations: 41.7 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6706, allocations: 7.984 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6707, allocations: 3.938 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.6707, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.6708, allocations: 8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003645/0.6712, allocations: 0.5899 MB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.6712, allocations: 3.984 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.6713, allocations: 4.031 kB / 1.028 GB, free: 11.43 MB / 0.7794 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 8.16e-05/0.6713, allocations: 110.3 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.6714, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6715, allocations: 48.91 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6715, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6715, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6715, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.6716, allocations: 149.6 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.6716, allocations: 7.984 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.6717, allocations: 7.984 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.6717, allocations: 7.938 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.6717, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003102/0.672, allocations: 0.5822 MB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6721, allocations: 3.938 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.936e-05/0.6721, allocations: 61.16 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.6722, allocations: 81.11 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.6722, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.6722, allocations: 8.062 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.6722, allocations: 7.922 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.6722, allocations: 7.938 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.6723, allocations: 83.28 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6723, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001922/0.6725, allocations: 12 kB / 1.029 GB, free: 10.13 MB / 0.7794 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.0001554/0.6726, allocations: 113.6 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.6728, allocations: 24.05 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6728, allocations: 0 / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.6729, allocations: 20 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.6731, allocations: 4.547 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.6734, allocations: 136.8 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.6736, allocations: 0.6772 MB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.6737, allocations: 7.438 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6737, allocations: 0 / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002051/0.6757, allocations: 0.6866 MB / 1.031 GB, free: 8.406 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches