Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008515/0.0008515, 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.001044/0.001044, allocations: 169.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.8804/0.8804, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.476e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001934/0.001959, allocations: 1.306 MB / 0.9518 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.00268, allocations: 0.5298 MB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.00271, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.002734, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.00278, allocations: 4 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.003223, allocations: 149.4 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.003285, allocations: 23.86 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.003334, allocations: 8 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.00337, allocations: 7.984 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.003429, allocations: 11.98 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.003445, allocations: 0 / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.003745, allocations: 267.4 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.003761, allocations: 4 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.003788, allocations: 15.86 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.003994, allocations: 147.6 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003997, allocations: 4 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003998, allocations: 7.875 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004003, allocations: 4 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 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.0004001/0.004403, allocations: 282 kB / 0.9532 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.004455, allocations: 8.031 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.004491, allocations: 38.73 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.004515, allocations: 4.938 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.004599, allocations: 105.7 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004611, allocations: 4.375 kB / 0.9533 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.004621, allocations: 384 / 0.9533 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.004737, allocations: 46.19 kB / 0.9534 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004746, allocations: 192 / 0.9534 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004756, allocations: 4.375 kB / 0.9534 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.004763, allocations: 4.125 kB / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.00481, allocations: 15.98 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.005133, allocations: 224 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.005348, allocations: 50.61 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.005381, allocations: 20.84 kB / 0.9537 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.005403, allocations: 0 / 0.9537 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.005424, allocations: 38.5 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005425, allocations: 0 / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.00559, allocations: 57.73 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.005624, allocations: 51.41 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.00569, allocations: 97.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.005703, allocations: 29.7 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.005746, allocations: 88.09 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.005754, allocations: 7.906 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.005785, allocations: 21.66 kB / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002814/0.006066, allocations: 318.8 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.00609, allocations: 12 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.006116, allocations: 17.72 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.006165, allocations: 37.64 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006168, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.508e-05/0.006243, allocations: 65.56 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.006257, allocations: 4 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.006265, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.00628, allocations: 4 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.48e-05/0.006325, allocations: 4 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.006333, allocations: 4 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.00635, allocations: 3.938 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006356, allocations: 0 / 0.9545 GB, free: 15.14 MB / 0.9167 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.463e-05/0.00642, allocations: 117.9 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.006434, allocations: 7.875 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.006567, allocations: 69.25 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.006571, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.006576, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.00658, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.006698, allocations: 128.8 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006699, allocations: 0 / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.006721, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.006726, allocations: 8.406 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.006732, allocations: 4 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006734, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.006736, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.218e-05/0.006828, allocations: 151.5 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.006837, allocations: 7.938 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006848, allocations: 3.984 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.006874, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.006889, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.006893, allocations: 4.125 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.006923, allocations: 79.28 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006923, allocations: 0 / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001893/0.007112, allocations: 31.86 kB / 0.9551 GB, free: 14.46 MB / 0.9167 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.0004036/0.007516, allocations: 0.7006 MB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.007611, allocations: 19.98 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.007613, allocations: 3.938 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.007624, allocations: 12 kB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.007803, allocations: 10.59 kB / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.008218, allocations: 154.4 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.008269, allocations: 59.42 kB / 0.956 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.008302, allocations: 11.97 kB / 0.956 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.008338, allocations: 12.5 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.008339, allocations: 0 / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.02708, allocations: 2.034 MB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.012, allocations: 11.94 kB / 0.9581 GB, free: 11.48 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv. Warning: Get data of variable m_flow_nominal from file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.133898008614779]