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.00145/0.00145, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001568/0.001568, allocations: 208.1 kB / 22.24 MB, free: 5.262 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 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 2.919/2.919, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.00198/0.00198, allocations: 72.08 kB / 1.186 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 181.9 MB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002208/0.3043, allocations: 1.306 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.3052, allocations: 0.5177 MB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.3052, allocations: 4 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.3052, allocations: 7.922 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.3053, allocations: 3.938 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3058, allocations: 135.4 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.3058, allocations: 23.92 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.3058, allocations: 3.984 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.3059, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.3059, allocations: 11.92 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3059, allocations: 11.94 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.3063, allocations: 263.5 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.3063, allocations: 4 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.3064, allocations: 11.92 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3066, allocations: 139.8 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3066, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3066, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3066, allocations: 4 kB / 1.366 GB, free: 11.81 MB / 1.061 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.0003834/0.307, allocations: 282 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.307, allocations: 8.031 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.3071, allocations: 38.73 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.3071, allocations: 4.938 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.3072, allocations: 114.4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3072, allocations: 4.375 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.3072, allocations: 4.375 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.3073, allocations: 46.25 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3073, allocations: 3.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.3073, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3073, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.3074, allocations: 15.98 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.3076, allocations: 224 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3078, allocations: 50.62 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.3079, allocations: 20.84 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3079, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3079, allocations: 30.56 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3079, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001563/0.3081, allocations: 61.62 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3081, allocations: 51.41 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.3082, allocations: 98.03 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3082, allocations: 25.7 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.3082, allocations: 96.09 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.3082, allocations: 7.906 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3083, allocations: 17.72 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3084, allocations: 314.8 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.3084, allocations: 15.94 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.3084, allocations: 13.72 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.3085, allocations: 41.81 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3085, allocations: 3.938 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.865e-05/0.3086, allocations: 57.69 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.3086, allocations: 8.031 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3086, allocations: 0 / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3086, allocations: 3.938 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.3087, allocations: 11.94 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3087, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.3087, allocations: 7.938 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3087, allocations: 0 / 1.367 GB, free: 9.953 MB / 1.061 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 7.446e-05/0.3088, allocations: 114.9 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.3088, allocations: 7.953 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.3089, allocations: 69.34 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3089, allocations: 0 / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3089, allocations: 0 / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3089, allocations: 0 / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3091, allocations: 132.7 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3091, allocations: 0 / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.3091, allocations: 7.938 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3091, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3091, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3091, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3091, allocations: 128 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.3092, allocations: 151.5 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.3093, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3093, allocations: 7.984 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.3093, allocations: 0 / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.3093, allocations: 0 / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3093, allocations: 4 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.3094, allocations: 79.28 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3094, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002271/0.3096, allocations: 23.92 kB / 1.368 GB, free: 9.277 MB / 1.061 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.0004631/0.3101, allocations: 0.7043 MB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.3101, allocations: 32.25 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3101, allocations: 0 / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.3102, allocations: 12 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.3104, allocations: 4.125 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.3107, allocations: 168.1 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.642e-05/0.3108, allocations: 63.34 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.3108, allocations: 8.062 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.3109, allocations: 7.438 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3109, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.3385, allocations: 1.89 MB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.46, allocations: 5.484 kB / 1.371 GB, free: 6.445 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.474454579874873]