Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000882/0.000882, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8725/0.8725, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.439e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001605/0.00162, allocations: 1.306 MB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.002312, allocations: 0.5183 MB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.002339, allocations: 4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.002357, allocations: 3.938 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.002401, allocations: 11.92 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.002871, allocations: 139.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.002924, allocations: 23.86 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.002964, allocations: 4 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.002996, allocations: 11.97 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.003048, allocations: 8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003061, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.003345, allocations: 275.3 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.00336, allocations: 4 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.003378, allocations: 7.938 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.003551, allocations: 147.6 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003553, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003554, allocations: 3.938 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003558, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 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.0003638/0.003922, allocations: 284.2 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.003962, allocations: 12.75 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.003994, allocations: 34.75 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.004015, allocations: 4.891 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/0.004095, allocations: 117.7 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.004105, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.004113, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.00421, allocations: 38.27 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.004219, allocations: 4.172 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.004227, allocations: 384 / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004233, allocations: 8.125 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.004277, allocations: 12 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.004561, allocations: 224 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.004749, allocations: 50.62 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.004777, allocations: 12.86 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.004799, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.00482, allocations: 38.48 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.004822, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001651/0.004987, allocations: 57.69 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.00502, allocations: 55.34 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.005077, allocations: 97.81 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.005089, allocations: 29.7 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.005131, allocations: 88.08 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.005143, allocations: 15.89 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.005168, allocations: 17.72 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.005249, allocations: 310.8 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.005266, allocations: 11.94 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.005292, allocations: 29.7 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/0.005332, allocations: 29.66 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005334, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.396e-05/0.005398, allocations: 61.94 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.005412, allocations: 12.03 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.005417, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.00543, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.005464, allocations: 12.03 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.00547, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.005487, allocations: 11.88 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.005493, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 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 6.056e-05/0.005554, allocations: 109.8 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.005567, allocations: 7.938 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.005677, allocations: 69.34 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005679, allocations: 0 / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005683, allocations: 0 / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005687, allocations: 0 / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.00579, allocations: 120.8 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005791, allocations: 4 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.005809, allocations: 7.984 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.005812, allocations: 3.938 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.005818, allocations: 0 / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00582, allocations: 3.938 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00582, allocations: 0 / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.005906, allocations: 151.5 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.005916, allocations: 11.83 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.005925, allocations: 0 / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.00595, allocations: 0 / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.005966, allocations: 7.984 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.005968, allocations: 0 / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.613e-05/0.005994, allocations: 83.28 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005994, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000165/0.006159, allocations: 15.94 kB / 1.004 GB, free: 8.496 MB / 0.9636 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.0002954/0.006454, allocations: 0.7006 MB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.817e-05/0.006532, allocations: 28 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006534, allocations: 3.938 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.006547, allocations: 19.92 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.006693, allocations: 7.875 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.00702, allocations: 150.4 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.00706, allocations: 63.34 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.007081, allocations: 8 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.007107, allocations: 16.48 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of SimCode: time 5e-07/0.007108, allocations: 0 / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.02071, allocations: 2.033 MB / 1.007 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/6.388, allocations: 0 / 1.007 GB, free: 5.531 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable m_flow_nominal in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv. Warning: Get data of variable m_flow_nominal from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.442140718922019]