Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.008971/0.008972, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002038/0.002038, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.48 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2614, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002288/0.2637, allocations: 1.285 MB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.2647, allocations: 0.5894 MB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.2648, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.2648, allocations: 3.938 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.2649, allocations: 0 / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.2655, allocations: 152.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.2655, allocations: 19.88 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.2656, allocations: 3.984 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.2656, allocations: 15.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.2657, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2657, allocations: 7.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.2663, allocations: 343.3 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.2663, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.2663, allocations: 15.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.2666, allocations: 143.9 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2666, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2667, allocations: 7.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2667, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004768/0.2671, allocations: 367 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2672, allocations: 8.031 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.2672, allocations: 30.75 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2673, allocations: 12.89 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2674, allocations: 160.4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2674, allocations: 384 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2674, allocations: 8.375 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2676, allocations: 42.25 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2676, allocations: 7.938 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2676, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2676, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.2677, allocations: 19.92 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.268, allocations: 249 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2683, allocations: 54.56 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.2683, allocations: 16.86 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2684, allocations: 3.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2684, allocations: 30.56 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2684, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001986/0.2686, allocations: 61.62 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.2687, allocations: 51.41 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.2687, allocations: 98.19 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2688, allocations: 29.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.2688, allocations: 88.09 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2689, allocations: 15.83 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.2689, allocations: 17.72 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.269, allocations: 310.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.269, allocations: 11.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.2691, allocations: 21.72 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.2691, allocations: 37.69 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2691, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/0.2693, allocations: 57.62 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2693, allocations: 9.562 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2693, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2693, allocations: 3.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.2694, allocations: 8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2694, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.2694, allocations: 4.031 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.2694, allocations: 7.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.2695, allocations: 113.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.2696, allocations: 7.953 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.2697, allocations: 61.11 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2697, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2697, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2698, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2699, allocations: 161.6 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2699, allocations: 128 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.27, allocations: 12 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.27, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.27, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.27, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.27, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2701, allocations: 151.5 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.2702, allocations: 89.05 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2702, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.2703, allocations: 3.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.2703, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2703, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.2703, allocations: 79.28 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2703, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002592/0.2706, allocations: 27.86 kB / 1.092 GB, free: 12.53 MB / 0.8575 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.271, allocations: 0.6929 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.2712, allocations: 32.25 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2712, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.909e-05/0.2712, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.2714, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.2719, allocations: 168.3 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2722, allocations: 0.6768 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.2722, allocations: 4 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.2723, allocations: 11.44 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2723, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.2907, allocations: 1.405 MB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.346, allocations: 8.781 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches