Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001311/0.001311, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001351/0.001351, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.72/2.72, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.38 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3534, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002854/0.3563, allocations: 1.31 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3575, allocations: 0.5799 MB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.3575, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.3575, allocations: 3.984 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.3576, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3581, allocations: 127.6 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.678e-05/0.3582, allocations: 11.94 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.3582, allocations: 7.984 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.3583, allocations: 3.938 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.3583, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.3583, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.3589, allocations: 343.3 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-06/0.3589, allocations: 4 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.3589, allocations: 7.938 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3591, allocations: 96.11 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.3591, allocations: 3.984 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.068e-06/0.3591, allocations: 4 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3592, allocations: 0 / 1.067 GB, free: 12.56 MB / 0.8419 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.0005133/0.3597, allocations: 347.5 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3597, allocations: 8.031 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3598, allocations: 4.938 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3599, allocations: 164.4 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3599, allocations: 4.375 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.36, allocations: 384 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3601, allocations: 38.19 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3601, allocations: 192 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3601, allocations: 3.938 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3601, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.3601, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.3603, allocations: 149.7 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.3604, allocations: 30.61 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.3604, allocations: 4.859 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3604, allocations: 4.062 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3605, allocations: 34.5 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3605, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.3607, allocations: 49.53 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3607, allocations: 59.47 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.3608, allocations: 93.86 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3608, allocations: 29.64 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.3609, allocations: 84.14 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3609, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.3609, allocations: 9.719 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3611, allocations: 314.8 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.3611, allocations: 8.125 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.3612, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.3612, allocations: 16.8 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3612, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.837e-05/0.3613, allocations: 41.61 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3613, allocations: 7.984 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3613, allocations: 3.938 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3613, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3615, allocations: 12.03 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004402/0.3619, allocations: 0.5861 MB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.362, allocations: 4.031 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.362, allocations: 3.984 kB / 1.069 GB, free: 10.21 MB / 0.8419 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 9.237e-05/0.3621, allocations: 111.5 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.3621, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3622, allocations: 48.91 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3622, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3622, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3622, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3624, allocations: 153.6 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3624, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.3624, allocations: 15.92 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3625, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3625, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003768/0.3628, allocations: 0.586 MB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3629, allocations: 3.938 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.3629, allocations: 69.09 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.363, allocations: 81.11 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.363, allocations: 0 / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.643e-05/0.363, allocations: 8.125 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3631, allocations: 15.84 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.3631, allocations: 0 / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.3631, allocations: 79.28 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3631, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001859/0.3633, allocations: 12 kB / 1.07 GB, free: 8.91 MB / 0.8419 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.0001824/0.3635, allocations: 111.2 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.3637, allocations: 24.08 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3637, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.3638, allocations: 19.88 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.3639, allocations: 3.984 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.3643, allocations: 135.7 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3646, allocations: 0.6769 MB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.3646, allocations: 11.44 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3646, allocations: 0 / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of Templates: time 0.002456/0.3671, allocations: 0.6911 MB / 1.071 GB, free: 7.176 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches