Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00153/0.001531, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001528/0.001528, allocations: 199 kB / 16.91 MB, free: 6.188 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.656/2.656, allocations: 469.8 MB / 0.7427 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.73 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3179, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002846/0.3208, allocations: 1.325 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3218, allocations: 0.58 MB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.3218, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.3219, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.3219, allocations: 3.984 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.3226, allocations: 119.6 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.3226, allocations: 11.92 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3227, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.3227, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.3227, allocations: 7.938 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.3227, allocations: 4 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005394/0.3233, allocations: 347.3 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.3233, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3233, allocations: 7.938 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3236, allocations: 96.09 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3236, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3236, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3236, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8419 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.000585/0.3242, allocations: 347.5 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3242, allocations: 11.97 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3243, allocations: 4.938 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3245, allocations: 160.4 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.3245, allocations: 4.375 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3245, allocations: 384 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3246, allocations: 42.19 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3246, allocations: 192 / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3246, allocations: 3.938 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3247, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.3247, allocations: 4 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.3249, allocations: 153.7 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.462e-05/0.325, allocations: 22.61 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.325, allocations: 4.859 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.325, allocations: 3.938 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3251, allocations: 38.62 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3251, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.3252, allocations: 49.53 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3253, allocations: 51.41 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.3254, allocations: 101.8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3254, allocations: 25.7 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.3254, allocations: 80.14 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.3255, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3255, allocations: 21.7 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3257, allocations: 315.1 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.3257, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.3257, allocations: 3.938 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.3257, allocations: 16.86 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3257, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.657e-05/0.3258, allocations: 41.59 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3258, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3258, allocations: 7.922 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3259, allocations: 96 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.326, allocations: 16.03 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004068/0.3264, allocations: 0.586 MB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.3265, allocations: 4.031 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3265, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 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.756e-05/0.3266, allocations: 113.8 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.3266, allocations: 4.094 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.3267, allocations: 44.81 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3267, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3267, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3267, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3269, allocations: 157.5 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3269, allocations: 8 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.327, allocations: 4 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.327, allocations: 4 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.327, allocations: 4 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000372/0.3274, allocations: 0.586 MB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3274, allocations: 7.922 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.3275, allocations: 61.11 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3275, allocations: 85.09 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.3275, allocations: 4.125 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.3276, allocations: 3.984 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.3276, allocations: 3.938 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3276, allocations: 3.938 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.3276, allocations: 79.28 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3277, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002052/0.3279, allocations: 12 kB / 1.07 GB, free: 8.918 MB / 0.8419 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.0001959/0.3281, allocations: 123.2 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.3283, allocations: 15.98 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3283, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.3284, allocations: 19.92 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3285, allocations: 2.109 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.3289, allocations: 138.4 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3293, allocations: 0.6768 MB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.3293, allocations: 7.438 kB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3293, allocations: 0 / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of Templates: time 0.002458/0.3317, allocations: 0.6871 MB / 1.071 GB, free: 7.191 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches