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.002083/0.002083, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002893/0.002893, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.699/2.699, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.543/5.543, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003008, allocations: 64.97 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5758, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003509/0.5794, allocations: 1.355 MB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.5808, allocations: 0.5956 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.5809, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.5809, allocations: 3.938 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.581, allocations: 7.984 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.5819, allocations: 127.6 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.582, allocations: 19.86 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.5821, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.5821, allocations: 15.92 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.5822, allocations: 11.92 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.5822, allocations: 4 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.583, allocations: 339.3 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.583, allocations: 11.98 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.5831, allocations: 11.94 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.5835, allocations: 140 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.5835, allocations: 4 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5836, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5836, allocations: 0 / 1.055 GB, free: 6.008 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.0006542/0.5842, allocations: 363.3 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.5843, allocations: 8.625 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.409e-05/0.5844, allocations: 34.75 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.5844, allocations: 4.938 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.5846, allocations: 168.3 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.5847, allocations: 4.375 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.5847, allocations: 384 / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5849, allocations: 42.25 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5849, allocations: 3.938 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.585, allocations: 4 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.585, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.5851, allocations: 11.94 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.5856, allocations: 257 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.586, allocations: 50.56 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.5861, allocations: 20.84 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.5861, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.5862, allocations: 34.56 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5862, allocations: 4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002919/0.5865, allocations: 57.62 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.5865, allocations: 51.41 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.5866, allocations: 97.84 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5867, allocations: 29.7 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.5868, allocations: 92.03 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.5868, allocations: 7.844 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.5869, allocations: 21.7 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.587, allocations: 318.8 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.5871, allocations: 8 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.393e-05/0.5871, allocations: 17.7 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.5872, allocations: 33.66 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5872, allocations: 3.938 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001652/0.5874, allocations: 57.59 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.5875, allocations: 13.81 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.5875, allocations: 7.969 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.5875, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.5876, allocations: 8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5876, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.5877, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.5877, allocations: 7.984 kB / 1.057 GB, free: 3.957 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 0.0001156/0.5878, allocations: 115.2 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.5879, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.5881, allocations: 73.23 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5881, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5881, allocations: 4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5881, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.5884, allocations: 157.6 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5885, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.5885, allocations: 11.98 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5885, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5885, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5886, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5886, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.5888, allocations: 155.9 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.5888, allocations: 85.05 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5888, allocations: 48 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.5889, allocations: 3.984 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.589, allocations: 7.922 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.589, allocations: 4 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.589, allocations: 79.28 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5891, allocations: 4 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004256/0.5895, allocations: 20 kB / 1.057 GB, free: 3.148 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.0007806/0.5903, allocations: 0.6968 MB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.5904, allocations: 19.94 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5905, allocations: 64 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.5905, allocations: 19.98 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.5909, allocations: 5.031 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.5916, allocations: 176.1 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.5919, allocations: 0.6768 MB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.592, allocations: 8 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.592, allocations: 11.42 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.592, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/0.6966, allocations: 1.29 MB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004861/0.6972, allocations: 232.5 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/4.587, allocations: 0 / 1.06 GB, free: 60 kB / 0.8106 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