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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_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_10_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.004713/0.004712, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001142/0.001142, allocations: 189 kB / 16.68 MB, free: 6.367 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2895, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002292/0.2918, allocations: 1.25 MB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.2928, allocations: 0.588 MB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.2928, allocations: 0 / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.2929, allocations: 4 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.2929, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.2935, allocations: 150.7 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.556e-05/0.2935, allocations: 7.938 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.2936, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.853e-05/0.2936, allocations: 11.98 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.2937, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2937, allocations: 4 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.2942, allocations: 343.3 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.2942, allocations: 3.938 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2942, allocations: 11.94 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.2945, allocations: 135.8 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2945, allocations: 7.938 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2945, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2945, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 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.0003738/0.2949, allocations: 359.1 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2949, allocations: 8.031 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.295, allocations: 30.75 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.295, allocations: 4.938 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2951, allocations: 164.4 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2951, allocations: 384 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.2951, allocations: 384 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.2952, allocations: 42.2 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2952, allocations: 3.938 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.2952, allocations: 4 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.2953, allocations: 0 / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.2953, allocations: 4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2954, allocations: 153.7 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.2955, allocations: 18.58 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.2955, allocations: 12.92 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2955, allocations: 3.984 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2956, allocations: 38.5 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2956, allocations: 0 / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001284/0.2957, allocations: 37.64 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2957, allocations: 59.41 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.2958, allocations: 93.84 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2958, allocations: 25.7 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.2959, allocations: 84.14 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2959, allocations: 8.203 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.2959, allocations: 13.72 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.296, allocations: 314.8 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.2961, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.2961, allocations: 7.938 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.2961, allocations: 20.78 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2961, allocations: 0 / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.745e-05/0.2962, allocations: 37.75 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2962, allocations: 11.94 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2962, allocations: 4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2962, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.2964, allocations: 11.98 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003574/0.2968, allocations: 0.586 MB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.2968, allocations: 3.938 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.2968, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 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 6.957e-05/0.2969, allocations: 117.9 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.2969, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.297, allocations: 44.81 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.297, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.297, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.297, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.2971, allocations: 157.6 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2971, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.2972, allocations: 19.95 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2972, allocations: 3.984 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.2972, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/0.2975, allocations: 0.586 MB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2975, allocations: 3.938 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/0.2976, allocations: 69.25 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2977, allocations: 81.05 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.2977, allocations: 3.938 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.2977, allocations: 4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.2977, allocations: 7.938 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.2977, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.2978, allocations: 75.28 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2978, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001937/0.298, allocations: 16.12 kB / 1.172 GB, free: 1.031 MB / 0.92 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.0003703/0.2983, allocations: 0.6085 MB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.2985, allocations: 23.86 kB / 1.172 GB, free: 376 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2985, allocations: 96 / 1.172 GB, free: 376 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.2986, allocations: 19.98 kB / 1.172 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.2988, allocations: 7.938 kB / 1.172 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.2992, allocations: 127.6 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2994, allocations: 0.6729 MB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.2994, allocations: 0 / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.2995, allocations: 15.5 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2995, allocations: 0 / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3175, allocations: 1.396 MB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.46, allocations: 11.56 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > 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.csv","/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