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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.25 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2381, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002224/0.2404, allocations: 1.289 MB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.2413, allocations: 0.6032 MB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.2413, allocations: 0 / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.2413, allocations: 3.938 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.2414, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.2419, allocations: 147.4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.986e-05/0.242, allocations: 27.86 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.242, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.242, allocations: 7.938 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.2421, allocations: 7.984 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2421, allocations: 7.938 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.2426, allocations: 339.4 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.2426, allocations: 11.94 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.2426, allocations: 7.938 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2429, allocations: 144 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2429, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2429, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.2429, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 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.0003757/0.2433, allocations: 363.4 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2433, allocations: 8.625 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.2433, allocations: 42.67 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.2434, allocations: 4.938 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.2435, allocations: 164.3 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2435, allocations: 4.375 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-06/0.2435, allocations: 384 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.2436, allocations: 50.23 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2436, allocations: 3.938 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2436, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2436, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.2437, allocations: 15.98 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.244, allocations: 248.9 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2442, allocations: 54.62 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.2442, allocations: 16.86 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2442, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2443, allocations: 34.56 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2443, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000153/0.2444, allocations: 57.62 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2445, allocations: 51.41 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.2445, allocations: 105.8 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2445, allocations: 29.7 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2446, allocations: 87.98 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.2446, allocations: 11.84 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.2446, allocations: 17.7 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.2447, allocations: 318.8 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.2448, allocations: 4 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.2448, allocations: 21.7 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.2448, allocations: 33.66 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2449, allocations: 3.938 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.674e-05/0.2449, allocations: 57.72 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.245, allocations: 8 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.245, allocations: 7.938 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.245, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.245, allocations: 11.94 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2451, allocations: 3.984 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.2451, allocations: 8.031 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.2451, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 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.371e-05/0.2452, allocations: 113.8 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2452, allocations: 4 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.2453, allocations: 57.61 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2453, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2453, allocations: 3.984 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2453, allocations: 7.969 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.2455, allocations: 165.6 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2455, allocations: 0 / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.2455, allocations: 8 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2455, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.2456, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2456, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2456, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.2457, allocations: 151.4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.2457, allocations: 89.05 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2457, allocations: 4 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.2458, allocations: 0 / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.2458, allocations: 3.984 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2458, allocations: 4 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.2458, allocations: 79.22 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2459, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002409/0.2461, allocations: 16 kB / 1.058 GB, free: 2.793 MB / 0.8106 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.0003965/0.2465, allocations: 0.7046 MB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.2466, allocations: 27.92 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2466, allocations: 3.938 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.2466, allocations: 12 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2468, allocations: 4 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.2473, allocations: 172.2 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.2475, allocations: 0.6767 MB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.2475, allocations: 0 / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.2475, allocations: 15.42 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2475, allocations: 0 / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6662/0.9137, allocations: 1.381 MB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.1, allocations: 9.516 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) 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) Reference file matches