Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_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_10_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.0009858/0.0009858, allocations: 99.58 kB / 16.02 MB, free: 76 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.001123/0.001123, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.348 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.505/2.505, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003927, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6272, allocations: 153.8 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001291/0.6285, allocations: 0.9846 MB / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.6295, allocations: 0.5801 MB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.6296, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.6296, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.6296, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.6301, allocations: 123.5 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.6301, allocations: 11.94 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.6302, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.6302, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.6302, allocations: 7.922 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.6303, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.6307, allocations: 347.3 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.6308, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.6308, allocations: 25.7 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.631, allocations: 109.7 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.631, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.631, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.631, 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.0003443/0.6313, allocations: 343.5 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6314, allocations: 8.031 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.6314, allocations: 8.922 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.6315, allocations: 168.3 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.6315, allocations: 4.375 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.6316, allocations: 384 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/0.6316, allocations: 30.27 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.6317, allocations: 192 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.6317, allocations: 3.938 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.6317, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.6317, allocations: 7.984 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.6319, allocations: 149.7 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.973e-05/0.6319, allocations: 26.55 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.6319, allocations: 16.84 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.632, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.632, allocations: 34.62 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.632, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001562/0.6322, allocations: 45.64 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6322, allocations: 51.41 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.6323, allocations: 97.84 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6323, allocations: 25.7 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.6323, allocations: 84.08 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.6324, allocations: 11.84 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.6324, allocations: 13.72 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6325, allocations: 311.1 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.6325, allocations: 4 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.6325, allocations: 7.938 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.6326, allocations: 16.84 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6326, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.533e-05/0.6326, allocations: 33.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6327, allocations: 9.719 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6327, allocations: 3.938 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.6327, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.6328, allocations: 20.02 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003369/0.6332, allocations: 0.5859 MB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.6332, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.6332, allocations: 0 / 1.028 GB, free: 11.44 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 7.937e-05/0.6333, allocations: 114.3 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.6333, allocations: 3.938 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.6334, allocations: 52.84 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6334, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6334, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.6334, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.6336, allocations: 157.6 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6336, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.6336, allocations: 11.98 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6337, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.6337, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002866/0.634, allocations: 0.5861 MB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.634, allocations: 7.922 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.434e-05/0.6341, allocations: 65.09 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.6341, allocations: 77.11 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.6341, allocations: 4.125 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.6341, allocations: 4 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.6342, allocations: 3.938 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.6342, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.6342, allocations: 79.28 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6342, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001914/0.6344, allocations: 12 kB / 1.029 GB, free: 10.14 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.000149/0.6346, allocations: 107.2 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.6347, allocations: 32.05 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6347, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.6348, allocations: 19.92 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.635, allocations: 2.953 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.6353, allocations: 137 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6355, allocations: 0.6809 MB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.6355, allocations: 7.438 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6355, allocations: 0 / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of Templates: time 0.002143/0.6377, allocations: 0.6851 MB / 1.031 GB, free: 8.414 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches