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.00775/0.007759, allocations: 104 kB / 15.73 MB, free: 6.492 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.00183/0.00183, allocations: 190 kB / 16.67 MB, free: 6.379 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00297/0.4039, allocations: 1.304 MB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.405, allocations: 0.5838 MB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.4051, allocations: 0 / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.4052, allocations: 3.938 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.4052, allocations: 3.984 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.4059, allocations: 153.6 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.406, allocations: 19.88 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.4061, allocations: 7.922 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.4061, allocations: 8 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.4062, allocations: 11.92 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.4062, allocations: 4 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/0.4067, allocations: 335.4 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.4067, allocations: 7.922 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.4068, allocations: 11.94 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.4071, allocations: 144 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4071, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4071, allocations: 4 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.4071, allocations: 3.938 kB / 1.21 GB, free: 7.527 MB / 0.9669 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.000514/0.4077, allocations: 367.3 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4077, allocations: 8.625 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.4078, allocations: 34.69 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.4078, allocations: 4.938 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.4079, allocations: 164.4 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.408, allocations: 384 / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.408, allocations: 8.375 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4081, allocations: 34.27 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4081, allocations: 11.92 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4081, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4081, allocations: 0 / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.4082, allocations: 8 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.4086, allocations: 252.9 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4088, allocations: 54.56 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.4089, allocations: 20.84 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.4089, allocations: 0 / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4089, allocations: 30.56 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.4089, allocations: 4 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.4091, allocations: 61.53 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4092, allocations: 51.41 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.4093, allocations: 102 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4093, allocations: 25.7 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.4094, allocations: 88.14 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.4094, allocations: 11.75 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.4094, allocations: 17.72 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4096, allocations: 314.8 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.4096, allocations: 8 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.4096, allocations: 21.72 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.4097, allocations: 41.81 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4097, allocations: 3.938 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001037/0.4098, allocations: 57.62 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4098, allocations: 8 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4098, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4099, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.4099, allocations: 11.94 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4099, allocations: 0 / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.41, allocations: 4.031 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.41, allocations: 4 kB / 1.212 GB, free: 5.48 MB / 0.9669 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.621e-05/0.4101, allocations: 109.8 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.4101, allocations: 11.89 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.4103, allocations: 57.19 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4103, allocations: 7.938 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4103, allocations: 4.062 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4103, allocations: 8 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4105, allocations: 161.6 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4105, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.4106, allocations: 8 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4106, allocations: 3.984 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.4106, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4106, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4106, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.4107, allocations: 147.5 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.4108, allocations: 85.05 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4108, allocations: 4 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.4109, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.4109, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.4109, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.4109, allocations: 91.2 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4109, allocations: 0 / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002785/0.4112, allocations: 20 kB / 1.212 GB, free: 4.676 MB / 0.9669 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.0005022/0.4117, allocations: 0.6967 MB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.4119, allocations: 28.25 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4119, allocations: 0 / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.4119, allocations: 12.09 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.4121, allocations: 13.3 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.4126, allocations: 164.3 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4129, allocations: 0.6807 MB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.4129, allocations: 3.984 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.413, allocations: 11.44 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.413, allocations: 3.938 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.4324, allocations: 1.402 MB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/8.931, allocations: 11.8 kB / 1.215 GB, free: 1.691 MB / 0.9669 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