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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001187/0.001187, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 74.52 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2474, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002082/0.2496, allocations: 1.341 MB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.2505, allocations: 0.6112 MB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.2505, allocations: 0 / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.2505, allocations: 3.984 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.2506, allocations: 7.922 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.251, allocations: 130.7 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.547e-05/0.251, allocations: 19.86 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.2511, allocations: 4 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.2511, allocations: 8 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.327e-05/0.2512, allocations: 11.92 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2512, allocations: 0 / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.2516, allocations: 343.3 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.2517, allocations: 7.938 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.2517, allocations: 11.94 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2519, allocations: 151.9 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2519, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.02e-07/0.2519, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.252, allocations: 0 / 1.055 GB, free: 5.566 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.0003599/0.2523, allocations: 355.5 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2524, allocations: 11.97 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.2524, allocations: 30.75 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.2524, allocations: 4.938 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.2525, allocations: 172.2 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.2525, allocations: 384 / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2525, allocations: 8.375 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.2526, allocations: 42.25 kB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2527, allocations: 3.938 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2527, allocations: 4 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2527, allocations: 0 / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.2527, allocations: 11.98 kB / 1.055 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.253, allocations: 253 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2532, allocations: 54.5 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.2532, allocations: 16.86 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2532, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2533, allocations: 38.55 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2533, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.2534, allocations: 61.62 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2535, allocations: 51.41 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.2535, allocations: 93.86 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2536, allocations: 25.7 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.2536, allocations: 92.05 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.2536, allocations: 11.83 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.2536, allocations: 21.66 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.2537, allocations: 310.8 kB / 1.056 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.2538, allocations: 12 kB / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.2538, allocations: 21.7 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.2539, allocations: 29.72 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2539, allocations: 3.938 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.605e-05/0.254, allocations: 61.91 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.254, allocations: 8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.254, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.254, allocations: 4.031 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.254, allocations: 11.98 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2541, allocations: 3.938 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.2541, allocations: 3.938 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2541, allocations: 4.047 kB / 1.057 GB, free: 3.52 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 5.727e-05/0.2542, allocations: 109.8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2542, allocations: 7.984 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.2543, allocations: 61.17 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2543, allocations: 8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2543, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2543, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.2545, allocations: 161.6 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2545, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.2545, allocations: 11.94 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2545, allocations: 0 / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.2546, allocations: 4.125 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2546, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2546, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.2547, allocations: 155.4 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.2547, allocations: 85.03 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2547, allocations: 4 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.2548, allocations: 0 / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.2548, allocations: 0 / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2548, allocations: 4 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.2548, allocations: 79.28 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2549, allocations: 0 / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000242/0.2551, allocations: 24 kB / 1.057 GB, free: 2.719 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.0003997/0.2555, allocations: 0.7006 MB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.2556, allocations: 23.98 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2556, allocations: 0 / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.2556, allocations: 15.94 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.2558, allocations: 10.73 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.2562, allocations: 169.9 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.2564, allocations: 0.6731 MB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.2565, allocations: 11.98 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.2565, allocations: 7.438 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2565, allocations: 0 / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.2668, allocations: 1.247 MB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.267, allocations: 234.5 kB / 1.06 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.913, allocations: 0 / 1.06 GB, free: 15.65 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