Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.007782/0.007789, allocations: 94.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.001393/0.001393, allocations: 191.2 kB / 16.67 MB, free: 6.391 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.443/1.443, 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.734/2.734, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2868, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002363/0.2892, allocations: 1.261 MB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2902, allocations: 0.5919 MB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.2903, allocations: 0 / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.2903, allocations: 0 / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.2904, allocations: 3.938 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.2909, allocations: 139.2 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.2909, allocations: 11.88 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.291, allocations: 4 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.291, allocations: 7.984 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.2911, allocations: 11.98 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.2911, allocations: 0 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.2916, allocations: 339.3 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2917, allocations: 3.984 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.2917, allocations: 7.938 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.292, allocations: 139.9 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.292, allocations: 0 / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.292, allocations: 3.938 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.292, allocations: 3.938 kB / 1.169 GB, free: 4.773 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.0004982/0.2925, allocations: 355.1 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2925, allocations: 8.031 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2926, allocations: 38.75 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.2926, allocations: 0.9375 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2928, allocations: 164.4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2928, allocations: 384 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2928, allocations: 384 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.2929, allocations: 34.2 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2929, allocations: 3.938 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2929, allocations: 7.984 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2929, allocations: 4 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.293, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.2931, allocations: 153.7 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.2932, allocations: 22.61 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.2932, allocations: 8.922 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2933, allocations: 0 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2933, allocations: 42.48 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.2933, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.2935, allocations: 45.64 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2935, allocations: 51.41 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.2936, allocations: 93.86 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2936, allocations: 25.7 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.2937, allocations: 88.38 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2937, allocations: 7.953 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.2937, allocations: 13.72 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2939, allocations: 310.8 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.2939, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.2939, allocations: 11.94 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.2939, allocations: 12.8 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2939, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.898e-05/0.294, allocations: 49.7 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.294, allocations: 11.94 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.294, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2941, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2942, allocations: 11.98 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004156/0.2946, allocations: 0.5821 MB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.2947, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2947, allocations: 4.125 kB / 1.171 GB, free: 2.383 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 9.161e-05/0.2948, allocations: 117.8 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.2948, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2949, allocations: 44.81 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2949, allocations: 3.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2949, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2949, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2951, allocations: 157.6 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2951, allocations: 7.969 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.2952, allocations: 8 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2952, allocations: 3.984 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2952, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003694/0.2956, allocations: 0.5899 MB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2956, allocations: 3.938 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.367e-05/0.2957, allocations: 65.17 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.2957, allocations: 85.03 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2957, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.763e-05/0.2958, allocations: 8 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.2958, allocations: 3.938 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.2958, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.2958, allocations: 75.28 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2958, allocations: 4 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001939/0.296, allocations: 8.125 kB / 1.172 GB, free: 1.082 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.0004597/0.2965, allocations: 0.6124 MB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.2967, allocations: 23.92 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2967, allocations: 8.031 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.2968, allocations: 15.98 kB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.297, allocations: 3.938 kB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.2974, allocations: 131.6 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2977, allocations: 0.669 MB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.2978, allocations: 4 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.2978, allocations: 11.5 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2978, allocations: 0 / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3222, allocations: 1.368 MB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.01, allocations: 13.06 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches