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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, 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.001444/0.001444, allocations: 198.2 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 67.27 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2467, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002345/0.2491, allocations: 1.255 MB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000928/0.2501, allocations: 0.5856 MB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.2501, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.2501, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.2502, allocations: 3.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.2507, allocations: 148.4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.408e-05/0.2508, allocations: 15.94 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.2508, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.2508, allocations: 7.938 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.2509, allocations: 3.984 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2509, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.2514, allocations: 343.4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.2514, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.2514, allocations: 3.938 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.2517, allocations: 140 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2517, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2517, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2517, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8262 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.0003653/0.2521, allocations: 355.5 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2521, allocations: 8.031 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.2522, allocations: 34.69 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.2522, allocations: 4.922 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2523, allocations: 168.3 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.2523, allocations: 384 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-06/0.2523, allocations: 384 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.897e-05/0.2524, allocations: 38.02 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2524, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.2524, allocations: 3.984 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.2524, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.2525, allocations: 7.984 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2526, allocations: 149.6 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.2527, allocations: 30.55 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.2527, allocations: 8.844 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2527, allocations: 12.06 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2528, allocations: 34.5 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2528, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001155/0.2529, allocations: 33.7 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2529, allocations: 55.34 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.253, allocations: 101.8 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.253, allocations: 25.7 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.2531, allocations: 88.38 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2531, allocations: 7.906 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.2531, allocations: 13.72 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2533, allocations: 310.8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.2533, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.2533, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.2533, allocations: 20.84 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.2533, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.481e-05/0.2534, allocations: 41.64 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2534, allocations: 7.938 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2534, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2534, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2536, allocations: 11.98 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003643/0.2539, allocations: 0.5822 MB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.254, allocations: 8.125 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.254, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 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.363e-05/0.2541, allocations: 109.8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.2541, allocations: 4 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/0.2542, allocations: 52.69 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2542, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2542, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2542, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2543, allocations: 161.6 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2543, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.2544, allocations: 11.98 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2544, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.2544, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003253/0.2547, allocations: 0.5859 MB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2548, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.743e-05/0.2548, allocations: 73.19 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.2549, allocations: 77.11 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.2549, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.2549, allocations: 3.938 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-06/0.2549, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2549, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.255, allocations: 75.28 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.255, allocations: 4.125 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001804/0.2552, allocations: 15.94 kB / 1.07 GB, free: 8.031 MB / 0.8262 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.0004032/0.2556, allocations: 0.6118 MB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.2557, allocations: 24.02 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2558, allocations: 0 / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.2558, allocations: 15.98 kB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.256, allocations: 7.938 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.2564, allocations: 147.5 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2566, allocations: 0.6728 MB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.2567, allocations: 8.125 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2567, allocations: 11.42 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2567, allocations: 0 / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.179/1.436, allocations: 1.34 MB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/17.47, allocations: 11.92 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > 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