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.007511/0.007511, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001877/0.001877, allocations: 198.8 kB / 16.67 MB, free: 5.934 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3056, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002302/0.3079, allocations: 1.246 MB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3089, allocations: 0.5957 MB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.309, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.309, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.3091, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.3096, allocations: 143.4 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.3096, allocations: 23.86 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.3097, allocations: 3.984 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.3097, allocations: 4 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.3097, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.3097, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.3103, allocations: 343.3 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.3103, allocations: 3.984 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.3103, allocations: 7.938 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.3106, allocations: 139.9 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3106, allocations: 0 / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3106, allocations: 0 / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3106, allocations: 3.938 kB / 1.169 GB, free: 4.801 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.0004349/0.3111, allocations: 363.1 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3111, allocations: 8.031 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.3112, allocations: 30.75 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.3112, allocations: 0.9375 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3113, allocations: 164.4 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3113, allocations: 4.375 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-06/0.3114, allocations: 384 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.3115, allocations: 38.25 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3115, allocations: 3.938 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.3115, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3115, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.3115, allocations: 7.938 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.3117, allocations: 145.7 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.3118, allocations: 30.59 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.3118, allocations: 8.859 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3118, allocations: 4.062 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3119, allocations: 34.56 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3119, allocations: 3.938 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.312, allocations: 41.58 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3121, allocations: 59.39 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.3122, allocations: 97.98 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3122, allocations: 25.7 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3122, allocations: 80.14 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3123, allocations: 7.953 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.3123, allocations: 13.72 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3124, allocations: 310.8 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.3125, allocations: 7.984 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.3125, allocations: 128 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.3125, allocations: 20.92 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3125, allocations: 7.875 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.215e-05/0.3126, allocations: 37.66 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3126, allocations: 7.938 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3126, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3126, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3128, allocations: 11.98 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/0.3132, allocations: 0.59 MB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.3133, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3133, allocations: 3.938 kB / 1.171 GB, free: 2.402 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 0.0001069/0.3134, allocations: 116.2 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.3134, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3135, allocations: 44.91 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3135, allocations: 4.031 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3135, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3135, allocations: 3.984 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3137, allocations: 153.6 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3137, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.3138, allocations: 11.98 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3138, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3138, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004161/0.3142, allocations: 0.5937 MB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3142, allocations: 3.938 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.896e-05/0.3143, allocations: 65.16 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3144, allocations: 81.05 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3144, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.3144, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.3145, allocations: 4.062 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.3145, allocations: 8 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.3145, allocations: 79.27 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3145, allocations: 3.938 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002044/0.3148, allocations: 15.94 kB / 1.172 GB, free: 1.098 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.0004846/0.3152, allocations: 0.6086 MB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3154, allocations: 19.98 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3154, allocations: 0 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3156, allocations: 23.86 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3157, allocations: 7.938 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.3162, allocations: 131.7 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3165, allocations: 0.6768 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.3165, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3166, allocations: 7.438 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3166, allocations: 0 / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.341, allocations: 1.401 MB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.94, allocations: 8.141 kB / 1.175 GB, free: 14.34 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