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.001764/0.001764, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002395/0.002395, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.895/2.895, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003001/0.003001, allocations: 64.23 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3731, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003241/0.3764, allocations: 1.3 MB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3777, allocations: 0.5235 MB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.3778, allocations: 0 / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3778, allocations: 3.938 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.3779, allocations: 7.922 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008375/0.3787, allocations: 148.1 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.3788, allocations: 27.86 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.3789, allocations: 0 / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.3789, allocations: 11.92 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.379, allocations: 11.98 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.379, allocations: 7.938 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.3796, allocations: 275.5 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.3796, allocations: 4 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.3797, allocations: 7.984 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.38, allocations: 140.5 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3801, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3801, allocations: 4 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3801, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 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.00059/0.3807, allocations: 286 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/0.3807, allocations: 12.03 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.141e-05/0.3808, allocations: 192 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.3808, allocations: 34.69 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.3808, allocations: 4.891 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.381, allocations: 110.5 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.381, allocations: 4.359 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.381, allocations: 4.375 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3811, allocations: 45.95 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3812, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3812, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3812, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.3812, allocations: 15.98 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3817, allocations: 220 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3819, allocations: 46.62 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.382, allocations: 20.8 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.382, allocations: 0 / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.3821, allocations: 38.55 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3821, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.3823, allocations: 61.64 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3823, allocations: 51.41 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3824, allocations: 97.86 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3824, allocations: 25.7 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3825, allocations: 80.14 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3825, allocations: 19.83 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.3826, allocations: 21.72 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3827, allocations: 314.8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.3827, allocations: 8 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.3828, allocations: 33.64 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.3828, allocations: 30.03 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3828, allocations: 0 / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/0.383, allocations: 61.67 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.383, allocations: 4 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.383, allocations: 3.984 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.383, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3831, allocations: 11.98 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3831, allocations: 128 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.3831, allocations: 15.98 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3831, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 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 0.000105/0.3832, allocations: 121.7 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3833, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.3834, allocations: 65.3 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3834, allocations: 0 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3834, allocations: 0 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3834, allocations: 0 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.3836, allocations: 132.7 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3836, allocations: 0 / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.3837, allocations: 11.98 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3837, allocations: 0 / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3837, allocations: 0 / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.3837, allocations: 7.984 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3837, allocations: 0 / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3839, allocations: 151.4 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3839, allocations: 3.953 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3839, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.384, allocations: 8 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.384, allocations: 3.984 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.384, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.384, allocations: 83.28 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.384, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002829/0.3843, allocations: 19.88 kB / 1.289 GB, free: 5.676 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.0006442/0.385, allocations: 0.7045 MB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3851, allocations: 20 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3851, allocations: 0 / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.3851, allocations: 15.92 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3854, allocations: 7.188 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.386, allocations: 161.6 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.3861, allocations: 63.75 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.3861, allocations: 4 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3861, allocations: 23.36 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of SimCode: time 4.4e-07/0.3861, allocations: 0 / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.4114, allocations: 1.548 MB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 12.89 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 19.504623663960956]