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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009662/0.0009663, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009721/0.009721, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6026, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001095/0.6038, allocations: 1.011 MB / 0.9562 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.6046, allocations: 0.5953 MB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.346e-05/0.6046, allocations: 0 / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.6046, allocations: 0 / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.6047, allocations: 9.047 kB / 0.9567 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.6051, allocations: 120.1 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.6051, allocations: 21.2 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.6052, allocations: 5.219 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.6052, allocations: 4.594 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.6052, allocations: 11.55 kB / 0.9569 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.6052, allocations: 1.219 kB / 0.9569 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.6057, allocations: 344.6 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.6057, allocations: 5.062 kB / 0.9572 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.6057, allocations: 32.86 kB / 0.9573 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.6059, allocations: 155.1 kB / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6059, allocations: 0 / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6059, allocations: 0 / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.6059, allocations: 1.219 kB / 0.9574 GB, free: 5.961 MB / 0.7169 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.0002791/0.6062, allocations: 356.4 kB / 0.9578 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.6063, allocations: 9.094 kB / 0.9578 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.267e-05/0.6063, allocations: 36.2 kB / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.797e-05/0.6063, allocations: 2.312 kB / 0.9578 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.932e-05/0.6064, allocations: 169.8 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.6064, allocations: 384 / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.6064, allocations: 3.281 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.6065, allocations: 40.59 kB / 0.958 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6065, allocations: 7.938 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.6065, allocations: 5.375 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6065, allocations: 0 / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.6066, allocations: 16.64 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.6068, allocations: 253.6 kB / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.607, allocations: 53.86 kB / 0.9583 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.607, allocations: 23.86 kB / 0.9584 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.6071, allocations: 2.406 kB / 0.9584 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.086e-05/0.6071, allocations: 30.56 kB / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.6071, allocations: 0 / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001405/0.6072, allocations: 61 kB / 0.9584 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.6073, allocations: 59.34 kB / 0.9585 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.742e-05/0.6073, allocations: 98.25 kB / 0.9586 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.6073, allocations: 25.7 kB / 0.9586 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.6073, allocations: 89.58 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.6074, allocations: 9.344 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.6074, allocations: 15.52 kB / 0.9587 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.6074, allocations: 314.8 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.6074, allocations: 5.438 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.6075, allocations: 23.08 kB / 0.9591 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.6075, allocations: 32.75 kB / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6075, allocations: 3.938 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.355e-05/0.6076, allocations: 55.53 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6076, allocations: 6.906 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6076, allocations: 1.812 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.6076, allocations: 0 / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.16e-05/0.6077, allocations: 7.188 kB / 0.9592 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6077, allocations: 5.922 kB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.6077, allocations: 3.938 kB / 0.9592 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.6077, allocations: 10.08 kB / 0.9592 GB, free: 4.086 MB / 0.7169 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 4.162e-05/0.6078, allocations: 120.1 kB / 0.9593 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.6078, allocations: 5.75 kB / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.6079, allocations: 55.84 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.6079, allocations: 0 / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6079, allocations: 1.281 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.608, allocations: 0 / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.6081, allocations: 162.6 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6081, allocations: 0 / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.6081, allocations: 14.14 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6081, allocations: 1.375 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.6081, allocations: 11.88 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6081, allocations: 1.375 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6081, allocations: 0 / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.6082, allocations: 147.1 kB / 0.9597 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.6082, allocations: 86.42 kB / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.6083, allocations: 9.312 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.6083, allocations: 4 kB / 0.9598 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.6083, allocations: 5.359 kB / 0.9598 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.6083, allocations: 1.375 kB / 0.9598 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.567e-05/0.6084, allocations: 78.03 kB / 0.9598 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6084, allocations: 0 / 0.9598 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002344/0.6086, allocations: 17.75 kB / 0.9599 GB, free: 3.344 MB / 0.7169 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.0002704/0.6089, allocations: 0.7123 MB / 0.9606 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.609, allocations: 18.84 kB / 0.9606 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.609, allocations: 0 / 0.9606 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.609, allocations: 15.67 kB / 0.9606 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.6092, allocations: 5.312 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.6095, allocations: 166.9 kB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.737e-05/0.6096, allocations: 0.6775 MB / 0.9614 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.6097, allocations: 2.5 kB / 0.9614 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.6097, allocations: 19.08 kB / 0.9614 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/0.6097, allocations: 0 / 0.9614 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/1.843, allocations: 1.194 MB / 0.9626 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.844, allocations: 228.4 kB / 0.9628 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/3.411, allocations: 1.375 kB / 0.9628 GB, free: 0.957 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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