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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.762/2.762, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002007/0.002007, allocations: 67.89 kB / 1.104 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8296, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002586/0.8321, allocations: 1.3 MB / 1.27 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.8332, allocations: 0.5955 MB / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.8332, allocations: 0 / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.8333, allocations: 0 / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.8333, allocations: 15.91 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.8338, allocations: 139.4 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.963e-05/0.8339, allocations: 15.94 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.834, allocations: 11.98 kB / 1.271 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.834, allocations: 11.92 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.834, allocations: 4 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.834, allocations: 0 / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.8346, allocations: 339.3 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.8346, allocations: 15.97 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.8347, allocations: 7.938 kB / 1.271 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.8349, allocations: 145.3 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8349, allocations: 0 / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8349, allocations: 0 / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.835, allocations: 0 / 1.271 GB, free: 2.582 MB / 0.9669 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.0005223/0.8355, allocations: 367.1 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8355, allocations: 8.031 kB / 1.272 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.8356, allocations: 34.75 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.8356, allocations: 0.9375 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.8357, allocations: 168.3 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.8357, allocations: 8.359 kB / 1.272 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.8358, allocations: 4.312 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.8359, allocations: 42.2 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.8359, allocations: 11.88 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.8359, allocations: 0 / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8359, allocations: 3.984 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.8359, allocations: 15.98 kB / 1.272 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.8363, allocations: 248.9 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.8365, allocations: 54.56 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.8365, allocations: 24.84 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.8365, allocations: 0 / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.8366, allocations: 30.56 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.8366, allocations: 0 / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.8367, allocations: 57.69 kB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.8368, allocations: 51.41 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.8369, allocations: 97.84 kB / 1.272 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.8369, allocations: 25.7 kB / 1.272 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.8369, allocations: 100 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.837, allocations: 11.91 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.837, allocations: 17.72 kB / 1.273 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8371, allocations: 314.8 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.8372, allocations: 8 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.8372, allocations: 21.72 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.8372, allocations: 33.7 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8372, allocations: 3.938 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001132/0.8374, allocations: 61.62 kB / 1.273 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.8374, allocations: 4 kB / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8374, allocations: 0 / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.8374, allocations: 4 kB / 1.273 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.8374, allocations: 4 kB / 1.273 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8374, allocations: 4 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.8375, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.8375, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 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 9.332e-05/0.8376, allocations: 131.8 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.8376, allocations: 0 / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.8377, allocations: 65.12 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8377, allocations: 480 / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8377, allocations: 3.938 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8377, allocations: 0 / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.8379, allocations: 161.6 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8379, allocations: 0 / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.838, allocations: 8 kB / 1.273 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.838, allocations: 0 / 1.273 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.838, allocations: 11.97 kB / 1.273 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.838, allocations: 0 / 1.273 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.838, allocations: 3.938 kB / 1.273 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.8382, allocations: 151.4 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.8382, allocations: 77.11 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.8382, allocations: 0 / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.8383, allocations: 0 / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.8383, allocations: 8 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.8383, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.8384, allocations: 87.27 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8384, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002427/0.8386, allocations: 15.94 kB / 1.274 GB, free: 15.72 MB / 0.9825 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.0005343/0.8391, allocations: 0.7099 MB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.8392, allocations: 23.98 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8392, allocations: 0 / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.8393, allocations: 15.94 kB / 1.274 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.8395, allocations: 2.625 kB / 1.274 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.8399, allocations: 164.1 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.8402, allocations: 0.6768 MB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.8403, allocations: 8.062 kB / 1.275 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.8403, allocations: 7.438 kB / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8403, allocations: 0 / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.864, allocations: 1.419 MB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/9.374, allocations: 18.58 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.361900251824409]