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.001561/0.001561, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.419/2.419, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6794, allocations: 140.4 MB / 0.9496 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002193/0.6816, allocations: 1.249 MB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.6826, allocations: 0.5872 MB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.6826, allocations: 0 / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.6826, allocations: 5.219 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.6827, allocations: 3.938 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.6832, allocations: 142.5 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.6832, allocations: 21.39 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.6833, allocations: 1.406 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.6833, allocations: 2.531 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.6834, allocations: 6.359 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.6834, allocations: 0 / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.6839, allocations: 345.9 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.6839, allocations: 5.125 kB / 0.9519 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.684, allocations: 1.062 kB / 0.9519 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.6842, allocations: 141.6 kB / 0.952 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6842, allocations: 0 / 0.952 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6842, allocations: 7.938 kB / 0.952 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6842, allocations: 1.469 kB / 0.952 GB, free: 7.469 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.0003507/0.6846, allocations: 346.7 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6846, allocations: 9.25 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.6847, allocations: 2.438 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.728e-05/0.6848, allocations: 165.9 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.6848, allocations: 384 / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.6848, allocations: 1.781 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.18e-05/0.6849, allocations: 33.02 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6849, allocations: 192 / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.6849, allocations: 5.406 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6849, allocations: 0 / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.541e-05/0.6849, allocations: 7 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.6851, allocations: 148.4 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.6851, allocations: 28.33 kB / 0.9527 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.6851, allocations: 6.172 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.6852, allocations: 5.406 kB / 0.9528 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.6852, allocations: 31.5 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.6852, allocations: 0 / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.6853, allocations: 50.66 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.6854, allocations: 53.34 kB / 0.9529 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.6854, allocations: 92.48 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.6854, allocations: 25.95 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.619e-05/0.6855, allocations: 88.14 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.6855, allocations: 13.61 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.6855, allocations: 12.53 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.6856, allocations: 310.8 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.6856, allocations: 5.781 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-06/0.6856, allocations: 6.75 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.6856, allocations: 9.891 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6856, allocations: 4.062 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.596e-05/0.6857, allocations: 45.97 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6857, allocations: 10.16 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6857, allocations: 3.938 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6857, allocations: 1.125 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.6859, allocations: 11.08 kB / 0.9535 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002316/0.6861, allocations: 0.5789 MB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.6862, allocations: 9 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6862, allocations: 0.7812 kB / 0.9541 GB, free: 5.234 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.673e-05/0.6862, allocations: 110.9 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.6863, allocations: 10.42 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.068e-05/0.6863, allocations: 47.5 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6864, allocations: 1.375 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6864, allocations: 0 / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6864, allocations: 4.031 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.197e-05/0.6864, allocations: 161.4 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6864, allocations: 0 / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.6865, allocations: 7.438 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6865, allocations: 1.062 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.6865, allocations: 0 / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002188/0.6868, allocations: 0.5873 MB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6868, allocations: 4.031 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.113e-05/0.6868, allocations: 62.08 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.6869, allocations: 82.28 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.6869, allocations: 5.156 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.355e-05/0.6869, allocations: 0 / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.6869, allocations: 5 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.6869, allocations: 1.031 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.6869, allocations: 80.59 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6869, allocations: 1.031 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000187/0.6871, allocations: 10.69 kB / 0.9552 GB, free: 3.996 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.0001408/0.6873, allocations: 107.6 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.6875, allocations: 30.62 kB / 0.9553 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6875, allocations: 0 / 0.9553 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.6876, allocations: 17.73 kB / 0.9554 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.6877, allocations: 1.281 kB / 0.9554 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.688, allocations: 115.1 kB / 0.9555 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.6881, allocations: 0.6711 MB / 0.9561 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.424e-05/0.6882, allocations: 1.219 kB / 0.9561 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.6882, allocations: 8.75 kB / 0.9561 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6882, allocations: 8 kB / 0.9561 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.002548/0.6907, allocations: 446.9 kB / 0.9566 GB, free: 2.828 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