Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InverseFlowFunctions,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_10_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.007819/0.007819, allocations: 100.6 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.001872/0.001872, allocations: 189.5 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.582/2.582, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7619, allocations: 151.6 MB / 1.166 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002566/0.7645, allocations: 1.28 MB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.7656, allocations: 0.5979 MB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.7657, allocations: 0 / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.7657, allocations: 3.938 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.7658, allocations: 0 / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.7664, allocations: 144.4 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.7665, allocations: 27.86 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.7665, allocations: 0 / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.749e-05/0.7666, allocations: 7.938 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.7666, allocations: 7.984 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.7666, allocations: 4 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005735/0.7672, allocations: 343.3 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.7672, allocations: 7.938 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.7673, allocations: 8 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.7676, allocations: 155.7 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7676, allocations: 0 / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7676, allocations: 3.938 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7676, allocations: 0 / 1.169 GB, free: 1.371 MB / 0.8887 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.0004863/0.7681, allocations: 359.1 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.7682, allocations: 12.56 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.7682, allocations: 38.72 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.7682, allocations: 8.875 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.7684, allocations: 164.4 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7684, allocations: 4.375 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.7684, allocations: 4.375 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.7685, allocations: 38.25 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7686, allocations: 11.94 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.7686, allocations: 0 / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7686, allocations: 0 / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.7686, allocations: 19.92 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.769, allocations: 256.8 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.7692, allocations: 50.62 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.7693, allocations: 16.86 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7693, allocations: 0 / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.7693, allocations: 30.56 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.7694, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.7695, allocations: 69.61 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.7696, allocations: 51.41 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.7697, allocations: 97.86 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.7697, allocations: 25.7 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.7698, allocations: 84.09 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.7698, allocations: 11.94 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.7698, allocations: 17.72 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.77, allocations: 310.8 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.77, allocations: 12 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.77, allocations: 25.7 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.7701, allocations: 29.66 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7701, allocations: 3.938 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.7702, allocations: 57.64 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7702, allocations: 8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7703, allocations: 432 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7703, allocations: 7.969 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.7703, allocations: 11.98 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7703, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.7704, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.7704, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 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 8.477e-05/0.7705, allocations: 113.8 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.7705, allocations: 7.938 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.7707, allocations: 72.97 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7707, allocations: 8 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7707, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7707, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.7709, allocations: 165.5 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7709, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.7709, allocations: 8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7709, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.771, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.771, allocations: 3.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.771, allocations: 128 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.7711, allocations: 151.5 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.7712, allocations: 81.11 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.7712, allocations: 7.984 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.7712, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.7713, allocations: 4 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.7713, allocations: 3.938 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.7713, allocations: 79.28 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7713, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002574/0.7716, allocations: 19.94 kB / 1.171 GB, free: 14.5 MB / 0.9044 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.0005196/0.7721, allocations: 0.7123 MB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.7722, allocations: 23.92 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7722, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.7723, allocations: 8 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.7725, allocations: 14.56 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.773, allocations: 152.1 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.7733, allocations: 0.6729 MB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.7733, allocations: 12.17 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.7734, allocations: 11.44 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.7734, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.7956, allocations: 1.399 MB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.784, allocations: 13.45 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches