Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_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.0015/0.0015, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001825/0.001825, allocations: 195.4 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 1.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5632, allocations: 140.4 MB / 0.9492 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001908/0.5651, allocations: 1.318 MB / 0.9505 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007171/0.5658, allocations: 0.5887 MB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.5659, allocations: 0 / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.5659, allocations: 1.375 kB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.5659, allocations: 0 / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.5664, allocations: 127 kB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.757e-05/0.5664, allocations: 12.06 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.5664, allocations: 6.75 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.5665, allocations: 1.375 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.5665, allocations: 6.734 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.5665, allocations: 0 / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.5669, allocations: 346.1 kB / 0.9516 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.5669, allocations: 3.938 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.5669, allocations: 2.594 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.5672, allocations: 144.3 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5672, allocations: 1.281 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5672, allocations: 0 / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5672, allocations: 0 / 0.9517 GB, free: 7.293 MB / 0.7169 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.0002671/0.5675, allocations: 357.7 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.5675, allocations: 9.062 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.132e-05/0.5675, allocations: 32.22 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.984e-05/0.5676, allocations: 0.9375 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.787e-05/0.5676, allocations: 165.4 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.5676, allocations: 1.625 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.5676, allocations: 1.812 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.045e-05/0.5677, allocations: 36.95 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5677, allocations: 7.938 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.5677, allocations: 1.125 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5678, allocations: 0 / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.5678, allocations: 2.844 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.46e-05/0.5679, allocations: 152.2 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.5679, allocations: 20.05 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.568, allocations: 12.3 kB / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.568, allocations: 7.984 kB / 0.9525 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.568, allocations: 40.22 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.568, allocations: 0 / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.5681, allocations: 39.3 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.5681, allocations: 55.34 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.894e-05/0.5682, allocations: 96.73 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.5682, allocations: 29.69 kB / 0.9527 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.145e-05/0.5682, allocations: 85.55 kB / 0.9528 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5682, allocations: 13.28 kB / 0.9528 GB, free: 6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.5683, allocations: 11.78 kB / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.5683, allocations: 314.8 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.5683, allocations: 2.188 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.5683, allocations: 2.312 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.5684, allocations: 22 kB / 0.9532 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5684, allocations: 64 / 0.9532 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.002e-05/0.5684, allocations: 38.17 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5684, allocations: 9.312 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.5684, allocations: 0 / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5685, allocations: 1.625 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5686, allocations: 10.61 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002049/0.5688, allocations: 0.5875 MB / 0.9538 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.5688, allocations: 4.125 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.5689, allocations: 1.188 kB / 0.9538 GB, free: 5.004 MB / 0.7169 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 4.39e-05/0.5689, allocations: 115.1 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.5689, allocations: 1.25 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.366e-05/0.569, allocations: 44 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.569, allocations: 0.875 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.569, allocations: 1.125 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.569, allocations: 0 / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.137e-05/0.5691, allocations: 156.2 kB / 0.9541 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5691, allocations: 1.219 kB / 0.9541 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.5692, allocations: 15.77 kB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5692, allocations: 7.938 kB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.5692, allocations: 0 / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001542/0.5694, allocations: 0.5828 MB / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5694, allocations: 9.203 kB / 0.9547 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.083e-05/0.5694, allocations: 66.31 kB / 0.9548 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.5694, allocations: 78.23 kB / 0.9548 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.5695, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.5695, allocations: 5.344 kB / 0.9549 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.5695, allocations: 3.938 kB / 0.9549 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.5695, allocations: 1.281 kB / 0.9549 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.536e-05/0.5695, allocations: 80.56 kB / 0.9549 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5695, allocations: 1.25 kB / 0.9549 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001937/0.5697, allocations: 10.34 kB / 0.9549 GB, free: 3.766 MB / 0.7169 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.0002324/0.57, allocations: 0.6178 MB / 0.9556 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.5701, allocations: 25.27 kB / 0.9556 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5701, allocations: 1.281 kB / 0.9556 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.5702, allocations: 13.48 kB / 0.9556 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.5704, allocations: 9.031 kB / 0.9556 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.5707, allocations: 142.1 kB / 0.9557 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.5708, allocations: 0.672 MB / 0.9564 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.5708, allocations: 5.062 kB / 0.9564 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.5709, allocations: 12.55 kB / 0.9564 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.5709, allocations: 0 / 0.9564 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.176/1.747, allocations: 1.236 MB / 0.9576 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.747, allocations: 265.1 kB / 0.9579 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/3.457, allocations: 1.875 kB / 0.9579 GB, free: 1.328 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches