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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001695/0.001695, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.349/2.349, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 0.8118 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6414, allocations: 140.4 MB / 0.9489 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002267/0.6437, allocations: 1.312 MB / 0.9502 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.6448, allocations: 0.6011 MB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.6448, allocations: 0 / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.6448, allocations: 3.938 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.6449, allocations: 1.375 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.6454, allocations: 118.1 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.6454, allocations: 17.42 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.6455, allocations: 1.375 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.6455, allocations: 1.375 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.6456, allocations: 6.75 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.6456, allocations: 0 / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.6462, allocations: 345 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.6462, allocations: 3.938 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.6462, allocations: 5.641 kB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.6465, allocations: 145.8 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6465, allocations: 0 / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6465, allocations: 0 / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6465, allocations: 0 / 0.9514 GB, free: 7.301 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.0003894/0.6469, allocations: 354 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.647, allocations: 8.562 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.647, allocations: 2.781 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6471, allocations: 160.4 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6471, allocations: 1.719 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.6471, allocations: 1.812 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.6472, allocations: 33 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6473, allocations: 192 / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6473, allocations: 3.938 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6473, allocations: 1.188 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.6473, allocations: 18.88 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.6475, allocations: 148.6 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.6475, allocations: 27.3 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.6475, allocations: 11.36 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.6476, allocations: 1.219 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.6476, allocations: 30.56 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.6476, allocations: 5.281 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.6477, allocations: 50.88 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.6478, allocations: 51.41 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.6478, allocations: 92.55 kB / 0.9524 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.6478, allocations: 31.02 kB / 0.9524 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.6479, allocations: 80.14 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.6479, allocations: 9.438 kB / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.6479, allocations: 15.47 kB / 0.9525 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.648, allocations: 320.6 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.648, allocations: 5.656 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.648, allocations: 1.469 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.6481, allocations: 10.42 kB / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6481, allocations: 0 / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.934e-05/0.6481, allocations: 45.88 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6481, allocations: 9.672 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6482, allocations: 8.031 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6482, allocations: 1.094 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.6483, allocations: 7.719 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002522/0.6486, allocations: 0.5788 MB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.6486, allocations: 3.906 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.6486, allocations: 5.453 kB / 0.9535 GB, free: 5.055 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 5.528e-05/0.6487, allocations: 123.2 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.6487, allocations: 1.156 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.6488, allocations: 44.75 kB / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6488, allocations: 0 / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6488, allocations: 1.062 kB / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6488, allocations: 0 / 0.9536 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.798e-05/0.6489, allocations: 153 kB / 0.9538 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.6489, allocations: 0 / 0.9538 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.649, allocations: 11.67 kB / 0.9538 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.649, allocations: 4 kB / 0.9538 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.649, allocations: 1.344 kB / 0.9538 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001832/0.6492, allocations: 0.5831 MB / 0.9544 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6492, allocations: 3.938 kB / 0.9544 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.752e-05/0.6493, allocations: 66.12 kB / 0.9544 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.6493, allocations: 78.45 kB / 0.9545 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.6493, allocations: 4 kB / 0.9545 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.6493, allocations: 1.25 kB / 0.9545 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.6493, allocations: 9.141 kB / 0.9545 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.6493, allocations: 7.938 kB / 0.9545 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.638e-05/0.6494, allocations: 77.78 kB / 0.9546 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6494, allocations: 0 / 0.9546 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002023/0.6496, allocations: 11.66 kB / 0.9546 GB, free: 3.816 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.0001557/0.6497, allocations: 114.5 kB / 0.9547 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.6499, allocations: 30.08 kB / 0.9547 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6499, allocations: 0 / 0.9547 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.65, allocations: 10.03 kB / 0.9548 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.6502, allocations: 5.172 kB / 0.9548 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.6505, allocations: 112.6 kB / 0.9549 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.6506, allocations: 0.6797 MB / 0.9555 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.6506, allocations: 0 / 0.9555 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.6506, allocations: 8.594 kB / 0.9555 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6506, allocations: 0 / 0.9555 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.002358/0.653, allocations: 429.5 kB / 0.9559 GB, free: 2.652 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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