Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.007798/0.007798, allocations: 104.6 kB / 15.74 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.001381/0.001381, allocations: 190.1 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.254/3.254, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 59.91 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3592, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002701/0.3619, allocations: 1.264 MB / 1.208 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.363, allocations: 0.5799 MB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.363, allocations: 3.938 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.3631, allocations: 3.938 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.3632, allocations: 4 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.3639, allocations: 146.1 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.364, allocations: 11.92 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.364, allocations: 0 / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.364, allocations: 8 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.3641, allocations: 7.938 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3641, allocations: 0 / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.3647, allocations: 347.3 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.3647, allocations: 0 / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.3647, allocations: 4 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.365, allocations: 136 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.365, allocations: 0 / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3651, allocations: 4 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.3651, allocations: 3.938 kB / 1.21 GB, free: 7.637 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004406/0.3655, allocations: 351.4 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3656, allocations: 8.625 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.3656, allocations: 34.75 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.3656, allocations: 4.844 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3658, allocations: 164.4 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3658, allocations: 384 / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3658, allocations: 384 / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3659, allocations: 34.25 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3659, allocations: 11.86 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.3659, allocations: 4 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.366, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.366, allocations: 7.938 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3662, allocations: 149.7 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.3662, allocations: 26.56 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.3662, allocations: 8.922 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3663, allocations: 0 / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3663, allocations: 34.56 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3663, allocations: 0 / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001542/0.3665, allocations: 49.56 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3665, allocations: 55.41 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.3666, allocations: 89.86 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3666, allocations: 25.7 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3666, allocations: 84.14 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3667, allocations: 16.14 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.3667, allocations: 9.719 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3668, allocations: 322.8 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.3669, allocations: 4 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.3669, allocations: 4 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.3669, allocations: 8.859 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3669, allocations: 0 / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.317e-05/0.367, allocations: 41.7 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.367, allocations: 11.97 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.367, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.367, allocations: 7.984 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3672, allocations: 8 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003669/0.3676, allocations: 0.5782 MB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.3676, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3676, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.3677, allocations: 117.9 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.3677, allocations: 7.938 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3679, allocations: 44.77 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3679, allocations: 3.984 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3679, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3679, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.368, allocations: 157.6 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.368, allocations: 0 / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.3681, allocations: 16.02 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3681, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3681, allocations: 4 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003033/0.3684, allocations: 0.5821 MB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3685, allocations: 3.938 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.654e-05/0.3685, allocations: 69.25 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.3686, allocations: 77.11 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.3686, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.681e-05/0.3686, allocations: 4 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3686, allocations: 3.938 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.3686, allocations: 7.984 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.3687, allocations: 75.28 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3687, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002148/0.3689, allocations: 20.06 kB / 1.213 GB, free: 3.949 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.3694, allocations: 0.6007 MB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3696, allocations: 23.98 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3696, allocations: 96 / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.3697, allocations: 15.98 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.3699, allocations: 18.25 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.3704, allocations: 141.5 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3706, allocations: 0.6729 MB / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.3707, allocations: 4 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.3707, allocations: 11.5 kB / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of SimCode: time 1.964e-06/0.3707, allocations: 0 / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.3913, allocations: 1.395 MB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.16, allocations: 6.719 kB / 1.216 GB, free: 1.188 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches