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.007688/0.007688, 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.001804/0.001804, 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.525/2.525, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2953, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002517/0.2978, allocations: 1.288 MB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2989, allocations: 0.5957 MB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.299, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.299, allocations: 4 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.2991, allocations: 3.938 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.2997, allocations: 151.4 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.2998, allocations: 15.94 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2999, allocations: 3.984 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.2999, allocations: 8 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.2999, allocations: 7.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/0.3005, allocations: 351.3 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3005, allocations: 3.984 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.3005, allocations: 11.94 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.3008, allocations: 147.8 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3009, allocations: 4 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3009, allocations: 0 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.3009, allocations: 0 / 1.169 GB, free: 4.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004662/0.3013, allocations: 367 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3014, allocations: 11.97 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.3014, allocations: 34.75 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.3015, allocations: 4.938 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3016, allocations: 160.4 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3016, allocations: 4.312 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3016, allocations: 4.375 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.3018, allocations: 42.25 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3018, allocations: 3.938 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3018, allocations: 3.984 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3018, allocations: 4 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-05/0.3019, allocations: 15.98 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.3022, allocations: 256.9 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3024, allocations: 54.5 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.3025, allocations: 20.84 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3025, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3025, allocations: 34.56 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3025, allocations: 0 / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.3027, allocations: 57.69 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3028, allocations: 51.41 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.3029, allocations: 97.8 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3029, allocations: 25.7 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.303, allocations: 92.08 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.303, allocations: 11.89 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.303, allocations: 17.72 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.3031, allocations: 314.8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.3031, allocations: 11.98 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.3032, allocations: 17.72 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.3032, allocations: 25.72 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3032, allocations: 7.938 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.983e-05/0.3033, allocations: 61.58 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3034, allocations: 12.02 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3034, allocations: 4 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3034, allocations: 0 / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.3035, allocations: 8 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3035, allocations: 3.984 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.3035, allocations: 0 / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3035, allocations: 4 kB / 1.17 GB, free: 2.625 MB / 0.92 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.896e-05/0.3036, allocations: 117.7 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3036, allocations: 0 / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.3038, allocations: 69.59 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3038, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.3038, allocations: 4.125 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3038, allocations: 7.938 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.304, allocations: 165.5 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.304, allocations: 48 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.304, allocations: 7.984 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.304, allocations: 4 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3041, allocations: 3.938 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3041, allocations: 4 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3041, allocations: 3.938 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.3042, allocations: 151.5 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.3042, allocations: 77.11 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3042, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.3043, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.3043, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3043, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.3044, allocations: 91.27 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3044, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002571/0.3046, allocations: 19.88 kB / 1.171 GB, free: 1.805 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 (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.0004755/0.3051, allocations: 0.7006 MB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.3052, allocations: 23.98 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3053, allocations: 4.062 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.3053, allocations: 15.94 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3055, allocations: 4 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.306, allocations: 156.1 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3062, allocations: 0.6768 MB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.3063, allocations: 8.25 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3063, allocations: 7.438 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.3063, allocations: 0 / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.3247, allocations: 1.404 MB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.057, allocations: 7.453 kB / 1.174 GB, free: 14.85 MB / 0.9356 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